Posted by Edmund Haselwanter on Aug 25, 2008
Tags: apache, cloud, tomcat
Problem description: You want to server multiple web applications with one Tomcat instance. The brute force variant is to just "rewrite" or ProxyPass the request from e.g. www.myhost.com to the local tomcat with localhost:8080/myhost. But this leads to context urls of ressources in the served html pages. You can either deploy you webapp in the ROOT context (but there is just ONE ROOT context, so this does not work). So let us use virtual hosts on both, the apache webserver and the tomcat servlet container.
Posted by Edmund Haselwanter on Mär 09, 2009
Tags: apache, apache2, centos, ssl, virtualhost
Here is a very good HOWTO for setting up an SSL secured Webserver with CentOS
ensure there is no
ssl.conf for the default VirtualServer in
/etc/httpd/conf.d/ or incorporate your changes there.