Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Apache as a Proxy

Status
Not open for further replies.

SimonMag

Technical User
Mar 20, 2001
123
GB
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top