This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
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
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.