我把我的Apacheconfiguration下面
ProxyPass /manager http://localhost:8080/manager/ ProxyPassReverse /manager http://localhost:8080/manager/ ProxyPass /foo http://localhost:8080/ ProxyPassReverse /foo http://localhost:8080/
但是,当我去任何一个链接,我得到一个403禁止页面。
但是,如果我只是去我的http://mysite.com:8080工作正常。 要真正到达我的经理,我似乎必须去http://mysite.com:8080/manager/html但我也试过
ProxyPass /manager http://localhost:8080/manager/html ProxyPassReverse /manager http://localhost:8080/manager/html
并没有工作eithter
有什么想法吗? 谢谢!
看看我们在这里定义的反向代理,看起来你需要定义:
<Proxy *> Order deny,allow Allow from all </Proxy>
在同一个虚拟主机容器中。