tomcat + apache by mod_proxy


1. load module

LoadModule proxy_module modules/
LoadModule proxy_http_module modules/


2. virtual host

<VirtualHost *:80>
CustomLog logs/ common
ErrorLog logs/
ProxyRequests Off
ProxyPreserveHost On
<Proxy *>
Order deny,allow
Allow from all
ProxyPass / http://localhost:8080/
ProxyPassReverse / http://localhost:8080/

About KENNETH 11325 Articles

Be the first to comment

Leave a Reply

Your email address will not be published.


This site uses Akismet to reduce spam. Learn how your comment data is processed.