【发布时间】:2010-11-12 20:08:40
【问题描述】:
我有一个非 Apache 服务器监听端口 8001 和 Apache 监听端口 80。我希望某个虚拟域实际上由非 Apache 服务器通过端口 80 提供服务。
例子:
<VirtualHost *:80>
Servername example.com
# Forward this on to the server on port 8001
</VirtualHost>
我想我可以用 mod_proxy 和 ProxyPass 来做到这一点。
ProxyPass * http://www.example.com:8001/
但这不起作用。
【问题讨论】:
-
在 ServerFault 上你可能会有更好的运气。
标签: apache2 apache-config