日期:2014-05-17  浏览次数:20783 次

设置apache跟tomcat整合

通过代理把so.kids21.cn这个二级域名的根目录“/”转向到http://localhost:8080这个地址由tomcat来进行处理,前提需要加载代理的模块*.so

<VirtualHost so.kids21.cn:80>
ServerName so.kids21.cn
ProxyPass / http://localhost:8080/
ProxyPassReverse / http://localhost:8080/
</VirtualHost>