need to proxy certain webpages to another port for php5 instance
Does anyone know how to configure apache to proxy a webpage I made to forward to another port so it will run the php5 instance that islistening to that port ???
one of those?
your resident linux noob
There are a couple ways to do this.
First would be to simply use a rewrite rule to tack on the corrected port. Something like this in .htaccess or the <VirtualHost> section:
Another method is to use mod_proxy and set up a reverse proxy. This is what you want to do if you need to run both instances, php4 and php5, and don't want visitors to see the alternate port in the URL.
Something like this, once you've installed and enabled mod_proxy:
|All times are GMT -5. The time now is 09:41 PM.|