Apache to connect through a proxy server -
currently have reverse enabled show below reverse proxy
proxyrequests off <proxy *> order deny,allow allow </proxy> proxypass /foo http://foo.example.com/bar proxypassreverse /foo http://foo.example.com/bar
so request comes apache "/foo" forwarded "http://foo.example.com/bar". if apache can access "foo.example.com" via proxy 176.77.86.8:8888. how configure it. using curl through proxy working expected
curl -x http://176.77.86.8:8888 -l http://foo.example.com/bar
got working, proxyremote thing looking for
proxyremote http://foo.example.com http://176.77.86.8:8888
Comments
Post a Comment