Topic: Apache add Tomcat for simple setting (no support post request)

  Print this page

1.Apache add Tomcat for simple setting (no support post request) Copy to clipboard
Posted by: LIONEL_C
Posted on: 2006-11-03 16:20

在Apache目錄下conf目錄中的httpd.conf內添加:

LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so

<IfModule mod_proxy.c>
ProxyRequests On
ProxyVia On
<Proxy /*>
Order deny,allow
Deny from all
Allow from localhost
</Proxy>
ProxyPass /img !
ProxyPass / http://localhost:8080/
ProxyPass /first http://localhost:8080/MyWeb/
ProxyPassReverse / http://localhost:8080/
</IfModule>

大功告成!


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923