1

[ubuntu] how to virtualhost mod_rewrite mod_proxy on apache2 + tomcat - java server

view story
linux-howto

http://ubuntuforums.org – how to virtualhost mod_rewrite mod_proxy on apache2 + tomcat - java server I am running on tomcat server that has webapps listening on 8080 I would like to host these webapps on different domains. For example, if the public virtual host is www.foobar.com and the friendly URL is /foobar, then www.foobar.com is mapped to http://www.hostdomain.com/dir/foobar How can I achieve this? I have tried several things without success. I was thinking I should have server to 1 - Grab the wild subdomain from the domain 2 - Make sure the subdomain is not www, w or ww 3 - Check if the directory actuall (Hardware)