Peter Boughton wrote: > Ooops. > This is what I currently have: > <Host name="localhost" appBase="webapps"/> > <Host name="mydomain.com" appBase="/home/user0/public_html"> > <Alias>www.mydomain.com</Alias> > <Context path="" docBase="/home/user0/public_html" reloadable="true"/> > </Host> > > What do I need to change so that mydomain.com/whatever will load > /home/user0/public_html/whatever ?
I would use: <Host name="localhost" appBase="webapps"/> <Host name="mydomain.com" appBase="/home/user0/webapps"> <Alias>www.mydomain.com</Alias> </Host> and not define any contexts in server.xml Contents for the root web application would then be placed in /home/user0/webapps/ROOT context for the foobar context in /home/user0/webapps/foobar etc Mark --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]