Mod_Proxy (Apache) won't forward requests
Good morning,
I have a netowrk setup with a web server inside a firewall. The web server has an ipaddress of 192.168.0.3. I have another server with some php pages with an ip address of 192.168.0.5. I am trying to use mod_proxy to send request to that server. I have virtual hosts set up. This is what I have in the virtual hosts directive: <VirtualHost 192.168.0.3:80> Servername media.domain.com ProxyRequests On ProxyRemote * http://music.otherdomain.com </VirtualHost> I have the other web server entry in the hosts file on the Linux server. Does a ProxyPass/ProxyPassReverse need to be added. I know virtual hosts is working becuase I have other virtual hosts on the server and they are all working. Any help would be appreciated. |
I think I got it. Further reading suggests that I may in fact have to put in ProxyPass. like this:
ProxyPass / http://localhost:80/VirtualHostBase/...rtualHostRoot/ ProxyPassReverse / http://localhost:80/VirtualHostBase/...rtualHostRoot/ |
All times are GMT -5. The time now is 03:45 PM. |