Using Apache to (almost) bypass Apache?
September 14, 2008 12:18 PM Subscribe
Is there a simple way to use Apache's ProxyPass
directive so that everything apart
from a directory beneath the webroot gets passed on to another server? If not, can it be done another way?
posted by holgate to computers & internet (3 answers total) 1 user marked this as a favorite
I'm wanting to combine lighttpd with Apache to take some load of a server, but unlike the standard ProxyPass setup, I'd like the httpd.conf to direct things like this:
http://mysite.com/ -> lighttpd running on port 81
http://mysite.com/foo/ -> Apache running on port 80
Is that possible with ProxyPass? If not, can it be done another way, perhaps by swapping the ports and putting it in the lighttpd config?