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

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -