Loading ...
Sorry, an error occurred while loading the content.

Re: Creating a filter for all text/html files

Expand Messages
  • Scott Gifford
    ... [...] Geoffrey Young writes: [...] ... Thanks very much! Both of these pointers were very helpful. I swear I tried looking at
    Message 1 of 4 , Feb 2, 2005
    • 0 Attachment
      "Philippe M. Chiasson" <gozer@...> writes:

      > Scott Gifford wrote:
      >> Hello,
      >> [...]
      >>
      >> I've got it working right now, but I'd like it to know the
      >> Content-Type that Apache would use for a document, so I can decide
      >> whether to filter it and so I can send a correct Content-Type header.
      >
      > $r->content_type should tell you that.
      >
      > http://perl.apache.org/docs/2.0/api/Apache/RequestRec.html#C_content_type_

      [...]

      Geoffrey Young <geoff@...> writes:

      [...]

      > in addition to what philippe said, Apache::Clean for mp2 should prove as a
      > good example for you to follow:
      >
      > http://search.cpan.org/~geoff/Apache-Clean-2.00_4/

      Thanks very much! Both of these pointers were very helpful. I swear
      I tried looking at content_type and it didn't work, but it must have
      been a bug somewhere else, because it works perfectly now.

      Thanks again!

      ---ScottG.
    Your message has been successfully submitted and would be delivered to recipients shortly.