Michael Mehrle wrote:
What you're looking for is installing your context in the "ROOT" context for Tomcat. The easiest way I've found to do this is to place your web-application (exploded is what I typically do), in the appBase directory for the Host container you've configured in Tomcat's server.xml - then place a context XML in that directory that has the following content:The gist of it is that I will forgo Apache altogether and run Tomcat on port 80. Now, in order to do that I need to:
a) Serve index.jsp directly like this http://www.hostname.com/index.jsp (or http://www.hostname.com) instead of having to go to: http://www.hostname.com/myapp/
b) Serve the rest of my application directly in the same fashion without having to specify the webapp context
I've seen this done with a Tomcat demo installation of Roller, so I know it's possible. Any input would be appreciated.
Thanks!
Michael
<Context path="" docBase="myapp"/>
That's it ... point your browser to your host and you should be in good shape. Be aware - out of the box, Tomcat ships with a simple 'ROOT' application loaded into the 'ROOT' context ... you should remove this from the server.xml file first.
Respectfully, Brice Ruth
-- Brice Ruth, Sr. IT Analyst Fiskars Brands Inc http://www.fiskarsbrands.com/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
