RE: Virtual Hosts [mostly solved]

2006-12-29 Thread Gormley, Josh
* Not having to modify server.xml directly. According to the Tomcat docs, you shouldn't modify this file. I think you may have misconstrued something in the docs. There's nothing wrong with modifying server.xml; for example, production environments must change it and web.xml to

RE: Virtual Hosts [mostly solved]

2006-12-28 Thread Gormley, Josh
With the help of several people on this list, I've been able to get my server configured [mostly] the way I wanted it configured. Here's my solution, hopefully it will be helpful to others Goals: * One instance of Tomcat running behind Apache * Multiple VirtualHosts, each pointing to its own

RE: Virtual Hosts [mostly solved]

2006-12-28 Thread Mark Eggers
You may find that the default host loads all of the web applications. In order to solve this, make sure that each of the contexts are not some subdirectory of another context. Host name=localhost appBase=vhosts/local / Host name=foo.mydomain.com appBase=vhosts/foo / Host name=bar.mydomain.com

RE: Virtual Hosts [mostly solved]

2006-12-28 Thread Caldarale, Charles R
From: Mark Eggers [mailto:[EMAIL PROTECTED] Subject: RE: Virtual Hosts [mostly solved] For a root context, I usually set up an application.xml file in conf/Catalina/hostname/ with the appropriate path= in the Context element That's incorrect for all recent versions of Tomcat. You must

RE: Virtual Hosts [mostly solved]

2006-12-28 Thread Caldarale, Charles R
From: Gormley, Josh [mailto:[EMAIL PROTECTED] Subject: RE: Virtual Hosts [mostly solved] * Not having to modify server.xml directly. According to the Tomcat docs, you shouldn't modify this file. I think you may have misconstrued something in the docs. There's nothing wrong