[英]Apache to connect through a proxy server
目前,我已启用反向,如下所示反向代理
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /foo http://foo.example.com/bar
ProxyPassReverse /foo http://foo.example.com/bar
因此,以“ / foo”到达我的Apache的任何请求都将转发到“ http://foo.example.com/bar ”。 但是现在,如果我的Apache只能通过代理176.77.86.8:8888访问“ foo.example.com”,该怎么办? 我该如何配置。 通过代理使用curl可以正常工作
curl -x http://176.77.86.8:8888 -L http://foo.example.com/bar
一切正常,ProxyRemote是我一直在寻找的东西
ProxyRemote http://foo.example.com http://176.77.86.8:8888
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.