我在Ubuntu 14.04.2服务器上安装了Apache和Wildfly,并创build了一个反向代理,以便Apache代理Wildfly。 它有效,但只有一半。 如果我点击http://myserver/wildfly/myprogram/index.xthml我得到的入口页面,但链接不适当的适应。 链接和图像源忽略http://myserver / wildfly /myprogram/条目,如下所示: http://myserver/myprogram/ 。 我相信我的configuration中一定有缺失的部分。 我在/etc/apache2/apache2.conf文件中添加了以下几行:
ProxyRequests Off ProxyPass /wildfly http://localhost:8080 ProxyPassReverse /wildfly http://localhost:8080
我怎么能告诉Apache包含/wildfly到所有的链接,基本上使用链接工作?