Configure Apache Web Server to use a proxy server

I want to configure the Apache web server to use a proxy so that all outgoing requests go through this proxy. Could you help me how to do this? I tried with Proxifier, but that didn't help me much.

+8
apache proxy webserver
source share
2 answers

If you need proxy outgoing requests, you can use ProxyRemote from mod_proxy http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxyremote

ProxyRemote * http://ip.of.proxY.host:port

+6
source share

If you are using Apache, it is easier to define the http_proxy global variable. On RedHat, for example, edit / etc / sysconfig / httpd and configure these two lines in your environment:

 export http_proxy="http://proxy:8080/" export https_proxy="http://proxy:8080/" 
0
source share

All Articles