Installing an Apache reverse proxy is an easy alternative to the JK 2 Connector to use Apache as a front-end to your Tomcat server.
Add to your Apache (virtual) server configuration (replace <hostname> with your hostname):
ProxyPass /tomcat/ http://<hostname>:8080/ ProxyPassReverse /tomcat/ http://<hostname>:8080/ ProxyPass /mmbase/ http://<hostname>:8080/mmbase-webapp/ ProxyPassReverse /mmbase/ http://<hostname>:8080/mmbase-webapp/ |
This allows you to access your Tomcat server as (replace <hostname> with your hostname):
http://<hostname>/tomcat/ |
and your MMBase server as (replace <hostname> with your hostname):
http://<hostname>/mmbase/ |