2017-08-20 3 views
0

Actuellement, j'ai inversé activé comme indiqué ci-dessous Reverse ProxyApache de se connecter via un serveur proxy

ProxyRequests Off 

<Proxy *> 
Order deny,allow 
Allow from all 
</Proxy> 

ProxyPass /foo http://foo.example.com/bar 
ProxyPassReverse /foo http://foo.example.com/bar 

Ainsi, toute demande qui vient à mon Apache avec «/foo » sera transmis à « http://foo.example.com/bar ». Mais maintenant, que faire si mon Apache ne peut accéder à "foo.example.com" via un proxy 176.77.86.8:8888. Comment est-ce que je le configure. utilisant boucle par ma procuration fonctionne comme prévu

curl -x http://176.77.86.8:8888 -L http://foo.example.com/bar 

Répondre

0

obtenu ce travail, ProxyRemote est la chose que je cherchais

ProxyRemote http://foo.example.com http://176.77.86.8:8888