通过代理把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>
本文介绍如何配置将so.kids21.cn二级域名的根目录代理转发至本地Tomcat服务(http://localhost:8080)。通过设置Apache的VirtualHost及ProxyPass指令实现跨域请求转发。
通过代理把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>
1510
1752

被折叠的 条评论
为什么被折叠?