Mark Thomas wrote:
ahnf wrote:
My question is, is there any way other than making the application's
root directory be "ROOT" or deployed under ROOT/ in order to get it to
respond to "/"? I tried the "path" attribute but it says that it is
only valid when the <Context> is defined in server.xml and not in
META-INFO/context.xml.
http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html
Use context.xml - approach #2 and configure both a docBase and a path.
Note the docBase *must* be outside of any host's appBase.
On a related note, is it possible to access these virtual hosts through
connecters (mod_jk/Apache)? I don't really know anything about the
content of AJP connections -- do they pass the virtual host name to
allow Tomcat to direct the requests to the right host or do all the
requests go to the defaultHost?
--
Jeff Hoffmann
PropertyKey.com
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]