OS: Linux Tomcat version: 6.0 I want to set up a virtual host for an application (webapps/test). I followed the tomcat 6 documentation: 1. in $CATALINA_HOME/conf/server.xml, add: 2. Created $CATALINA_HOME/webapps/test/ROOT/META-INF/context.xml, this was left empty
When I set up virtual hosts, I use an absolute path for appBase.
Joined: May 10, 2008
Thanks for writing back, I tried that, but it doesn't work... One thing I don't understand is: why I was able to visit "www.fakedomain.com" if I change appBase to "webapps", in that case the default tomcat page will show up. Does that mean the virtual host work but I might have missed something in my own application?
Originally posted by William Brogden: When I set up virtual hosts, I use an absolute path for appBase.