modperl and apache handlers

From: 2PencePiece (only4questions_at_gmail.com)
Date: 12/28/04


Date: 28 Dec 2004 04:38:09 -0800

Hi All,
I'm having some problems understanding the running order of apaches
protocol handlers.
I have written a simple mod-perl handler that handles all html request.

However I do not want my handler to interfere with RTSP and PNM
requests.
I want the normal protocol actions to be taken when these calls are
made (like apache does with imagine formats (.gif, .jpeg etc) and css.

Why does apache / mod-perl process the above file types as normal but
not .ra .ram etc?

What stage are they handled at? (my handler is called at the
PerlHeaderParserHandler stage and under debug I do not see calls for
imagines etc).

How can I make apache avoid calling my code when a .ra .ram .rpm .mp3
etc URI is requested?

I hope my question is clear???

httpd.conf:
<Location /*>
PerlOptions +GlobalRequest
Order Deny,Allow
Allow from all
PerlHeaderParserHandler +Dispatcher
</Location>

Any help (direction to documentation) would be greatly appricated.
Happy Holidays



Relevant Pages

  • Re: Using POST to send bitmap image with Java
    ... In the case of Apache, it seems to get treated as a GET. ... In the case of all other methods, the server passes the request onto the designated handler, treats the request as a GET or returns a not found error. ... a successful GET request can be made using only the web server. ...
    (comp.lang.java.programmer)
  • Re: Using POST to send bitmap image with Java
    ... In the case of Apache, it seems to get treated as a GET. ... In the case of all other methods, the server passes the request onto the designated handler, treats the request as a GET or returns a not found error. ... a successful GET request can be made using only the web server. ...
    (comp.lang.java.programmer)
  • Apache ErrorDocument / PHP header() interaction does not work as expected
    ... I am trying to trigger Apache ErrorDocument handlers by setting appropriate HTTP status codes in my PHP code, but I don't get the expected results. ... The status code is sent to the browser, but the ErrorDocument handler is never triggered, it looks like Apache passes the value on to the client, but does not interpret it. ...
    (php.general)
  • Apache ErrorDocument / PHP header() interaction does not work as expected
    ... I am trying to trigger Apache ErrorDocument handlers by setting ... My PHP file: ... The status code is sent to the browser, but the ErrorDocument handler ...
    (comp.lang.php)
  • Re: easy question about kill command
    ... That's because all kill is responsible for is sending the signal; ... As to whether or not the process in question has a SIGHUP handler, ... The apache_ctl script suppied by the Apache project is an example ...
    (freebsd-hackers)