Apache 我正在使用redhat,Mox_代理,但页面上的链接对tomcat不起作用

Apache 我正在使用redhat,Mox_代理,但页面上的链接对tomcat不起作用,apache,tomcat,redhat,Apache,Tomcat,Redhat,我使用的是Redhat Linux、apache、tomcat和alfresco 我已经成功地使用了带有proxypass和proxypassreverse的虚拟服务器,将example.com作为端口8282的服务器名。我被发送到tomcat,我可以很好地看到tomcat页面的开头,但是我使用的链接将不起作用。tomcat正在alfresco上运行,我输入example.com/share/page/,它会将我发送到登录页面,但是看起来似乎用于页面样式的css都消失了,用于输入用户名和密码的文

我使用的是Redhat Linux、apache、tomcat和alfresco

我已经成功地使用了带有proxypass和proxypassreverse的虚拟服务器,将example.com作为端口8282的服务器名。我被发送到tomcat,我可以很好地看到tomcat页面的开头,但是我使用的链接将不起作用。tomcat正在alfresco上运行,我输入example.com/share/page/,它会将我发送到登录页面,但是看起来似乎用于页面样式的css都消失了,用于输入用户名和密码的文本框也消失了。如果我输入实际的ip地址和端口号,/share/page/页面工作正常

不知道为什么这不起作用

http://example1/share/page/
什么时候

http://:8282/share/page/
工作

下面是我在/tomcat/conf/server.xml中的代码

<Connector className="org.alfresco.share"
            port="8282"
        proxyName="example1"
        proxyPort="80"/>

这是我在/etc/httpd/conf/httpd.conf中的代码

<VirtualHost *:80>
     ServerName     example1
     ProxyPass  /  http://<ip-address>:8282/
     ProxyPassReverse  /  http://<ip-address>:8282/
</VirtualHost>

服务器名示例1
ProxyPass/http://:8282/
ProxyPassReverse/http://:8282/
我在另一台没有alfresco的apache-tomcat-8.0.9服务器上尝试过这一点,它成功了

任何帮助都将不胜感激,
谢谢

我找到了解决方案,我查看了代码,发现alfresco的代码使用了@import,而服务器或浏览器只是需要一段时间才能加载。这是我在不改变一行代码的情况下解决的第一个问题。 这里是链接

<VirtualHost *:80>
     ServerName     example1
     ProxyPass  /  http://<ip-address>:8282/
     ProxyPassReverse  /  http://<ip-address>:8282/
</VirtualHost>