Brett Parker wrote:

Very Quick and Dirty Method:
<VirtualHost blah>
RewriteEngine on
ProxyPreserveHost on
RewriteRile ^/(.*\.jsp) http://localhost:8180/$1 [P] [L]
ProxyPassReverse / http://localhost:8180/
</VirtualHost>

I use a similar rule to pass dynamic page requests to a separate apache process


<VirtualHost blah>
RewriteEngine on
RewriteRule ^/(.*\.(cgi|pl|sh|shtml|php))$ http://127.0.0.1:80/$1 [P]
RewriteRule ^/(.*\.(cgi|pl|sh|shtml|php)\?.*) http://127.0.0.1:80/$1 [P]
</VirtualHost>

I have two apache processes, one listening on the external interface and one listening on localhost. Both on port 80. I did it this way because for some reason the browser sometimes gets redirected to the backend server's port (which if isn't 80 would look quite funny in the location bar).

--
Regards,
wK (www.doubleukay.com)


-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Reply via email to