As I mentioned above (altho perhaps not clearly), it's multiple servers, and it's occuring across all servers.

The code in the content type handler is fairly simple, and given that it works in the vast majority of cases, I'm not so suspicious of it:
sub type_handler { my $r = shift; my $type = $r->notes('CONTENT_TYPE'); if ($type) { $r->content_type($type); return OK; } else { return DECLINED: } }
What sets the content type in the notes? That's done in the translation handler, read from a file for each piece of content it serves. I can be fairly sure that this is being done correctly for the cases that content type is being set to text/plain. (I haven't ruled it out, but if that *is* the problem, then it's not likely I can get much help from PM without going into a *lot* more detail, which I'm probably not prepared to do at this stage).

In reply to Re^2: Apache, mod_perl and content type handlers by Mutant
in thread Apache, mod_perl and content type handlers by Mutant

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.