I want to configure Apache web server to use a proxy server, so that all the outbound requests go through this proxy server. Could you please help me how to do this? I tried with Proxifier, but it didn't help me much.
-
you want it so that if a client requests a page (not from the proxy) the response goes through the proxy? or if an application / script on the server makes and outbound request for data it goes through the proxy?Doon– Doon2013-01-24 03:45:12 +00:00Commented Jan 24, 2013 at 3:45
-
Yes the second one - when the HTTP Server makes an outbound request, it should go through the proxyApps– Apps2013-01-24 03:50:00 +00:00Commented Jan 24, 2013 at 3:50
-
what is making the outbound request from apache? A script or are you using mod_proxy?Doon– Doon2013-01-24 03:58:46 +00:00Commented Jan 24, 2013 at 3:58
-
Yes I'm using a mod_proxy. There is a proxy pass rule created which forwards some url patterns to a different domainApps– Apps2013-01-24 04:01:13 +00:00Commented Jan 24, 2013 at 4:01
-
1Stack Overflow is a site for programming and development questions. This question appears to be off-topic because it is not about programming or development. See What topics can I ask about here in the Help Center. Perhaps Web Applications Stack Exchange, Webmaster Stack Exchange or Unix & Linux Stack Exchange would be a better place to ask.jww– jww2017-12-21 05:25:44 +00:00Commented Dec 21, 2017 at 5:25
Add a comment
|
2 Answers
If you need to proxy outbound 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