I need to be able to set up virtual hosts. We have one IP-address, but have several domain-names that are served from the same Tomcat server. In the book in chapter 19 there is an example how to configure this. I can set the appbase to another directory and that works. Tomcat is installed in another directory than /Library/Tomcat. Here's the code for the server.xml file:
<Engine name="Standalone" defaultHost="localhost"
<Host name="europa.dom" debug="0"
<Context path="" docBase="ROOT" debug="0" />
Opening localhost pages works fine, but opening europa.dom-pages doesn't work. Do I need to set something else to get this to work? Am I doing something wrong here?
Btw: I'm working on a Mac OSX 10.3.3, Tomcat 5.0.24, but need to do the same on W2K, Tomcat 4.1.24. On both machines Apache is not running.