|
Posted by 2PencePiece on December 28, 2004, 5:38 am
Please log in for more thread options
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
|
|
Posted by Terrence Brannon on December 28, 2004, 11:29 pm
Please log in for more thread options
> Hi All,
Hi,
>
> I hope my question is clear???
Maybe try your question here:
http://perl.apache.org/maillist/modperl.html
>
> Any help (direction to documentation) would be greatly appricated.
> Happy Holidays
>
I think this might be good:
http://www.modperlcookbook.org/
But have a look thru these:
http://perl.apache.org/docs/index.html
--
Carter's Compass: I know I'm on the right track when,
by deleting something, I'm adding functionality.
|
|
Posted by 2PencePiece on December 28, 2004, 5:28 pm
Please log in for more thread options Thanks,
That was very useful and I have taken some of the advice given.
Since posting I think I have progressed further.
It's quite strange. I think the issue here is actually RTSP and the way
realplayer negotiates a stream.
I am now wondering if apache REALLY support RTSP natively? This could
be my problem. However I have another site that works (i.e. streams pnm
/RTSP requests ) on the same server (using apache).
I cannot find any documentation stating either way.
RTSP also creates handler problem as the $r->method is a 'GET' as it
is a html request.
I have regex'ed the uri to identify RTSP request but I don't know what
to do afterwards. ( don't quite understand what happens when I DECLINED
the request )..
Thanks
|
| Similar Threads | Posted | | CGI.pm and ModPerl::Registry | December 21, 2007, 11:20 pm |
| CPAN conflict issue - CGI.pm vs ModPerl::Registry | September 25, 2006, 12:42 pm |
| starting apache with mod_perl, error on Apache.pm | July 21, 2004, 5:34 pm |
| Apache::DBI help | July 7, 2006, 8:40 am |
| ANN: Apache::LogRegex 1.2 | August 13, 2004, 10:46 am |
| apache::dbi & mod_perl2 | October 25, 2004, 12:28 pm |
| I Don't Want to Restart Apache | November 2, 2005, 3:14 am |
| mod_perl 2.0.3 and apache 2.0.x and 2.2.x^ | October 24, 2007, 7:39 pm |
| ANN: Apache-Authen-Program 0.93 | September 22, 2004, 2:37 am |
| [ANNOUNCE] Apache::SessionManager 1.03 | November 7, 2004, 11:57 pm |
|