【问题标题】:Apache to connect through a proxy serverApache 通过代理服务器连接
【发布时间】:2017-08-20 10:19:21
【问题描述】:

目前我已启用反向功能,如下所示 反向代理

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

【问题讨论】:

    标签: apache proxy reverse-proxy


    【解决方案1】:

    得到它的工作,ProxyRemote 是我正在寻找的东西

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-12-09
      • 2023-03-29
      • 2014-06-03
      • 2010-10-05
      • 2014-06-27
      • 1970-01-01
      • 1970-01-01
      • 2020-10-12
      相关资源
      最近更新 更多