I have setup Apache 2.0.47(Win32) on a windows machine and am trying to set it up as a proxy server to send requests to our existing proxy server then out to the internet. I have managed to do this, the issue I am having is for internal addresses. When I try to access an internal address I get the message: Bad Gateway. The proxy server recieved an invalid response from an upstream proxy.
Here is the part of my httpd.conf which has the proxy information in.
ProxyRequests On
ProxyVia On
ProxyDomain mydomain.co.uk
NoProxy xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx
ProxyRemote * <Proxy *>
Order deny,allow
Allow from all
Allow from xxx.xxx.xxx.xxx
</Proxy>
If anyone has an idea how I can return internal addresses directly without forwarding them to the proxy?
Thanks
Simon.
Here is the part of my httpd.conf which has the proxy information in.
ProxyRequests On
ProxyVia On
ProxyDomain mydomain.co.uk
NoProxy xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx
ProxyRemote * <Proxy *>
Order deny,allow
Allow from all
Allow from xxx.xxx.xxx.xxx
</Proxy>
If anyone has an idea how I can return internal addresses directly without forwarding them to the proxy?
Thanks
Simon.