配置Apache转发消息到Tomcat

配置如下

<VirtualHost *:80>
    <Location /cxf-demo>
    ProxyPass  ajp://localhost:8009/cxf-demo
    ProxyPassReverse  ajp://localhost:8009/cxf-demo
    </Location>
</VirtualHost>

配置后,在浏览器上输入地址http://localhost/cxf-demo即可访问到Tomcat中部署的cxf-demo。

你可能感兴趣的:(配置Apache转发消息到Tomcat)