perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sumit Shah <>
Subject MODPERL and Reverse Proxy
Date Thu, 07 Dec 2006 20:37:08 GMT
Hello All,

I am trying to setup my Apache in such a way that for any .jsp requests 
it invokes a Perl Handler. After invoking the Perl handler, it should 
use the Reverse proxy setup to forward the same request to another server.

Here is my configuration(httpd.conf):

LoadModule proxy_module modules/
LoadModule proxy_http_module modules/
LoadModule perl_module modules/

<FilesMatch "\.(jsp|cgi|gif|html)$">
        PerlHeaderParserHandler My::RequestHandler

ProxyRequests     Off
ProxyPreserveHost On
ProxyPass               /
ProxyPassReverse  /

I want the request to come to My::RequestHandler FIRST and then go to 
the ProxyPass Directive. It does not do this. It BYPASSES my handler and 
goes to the Reverse Proxy.
I would appreciate any suggestions.


View raw message