【发布时间】:2014-09-23 04:02:29
【问题描述】:
我正在尝试使用 Apache 将 URL 转发到另一台服务器。我在 httpd.conf 中创建了一个虚拟主机。当我尝试访问 ipServeur/test 时它不起作用。我无法访问该页面。
怎么了?
NameVirtualHost *:80
<VirtualHost *:80>
ServerName ipServeur
ProxyRequests off
ProxyPass /test http://ipOtherServeur:8080
ProxyPassReverse /test http://ipOtherServeur:8080
</VirtualHost>
【问题讨论】:
-
[2014 年 7 月 31 日星期四 12:12:41] [错误] (70007) 指定的超时已过期:代理:HTTP:尝试连接到 ipOtherServeur:8080 (ipOtherServeur) 失败 [7 月 31 日星期四2014 年 12:12:41] [错误] ap_proxy_connect_backend 禁用 (ipOtherServeur) 的工作人员
标签: apache virtualhost reverse-proxy centos6