tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <>
Subject Re: full path of 404 file
Date Sun, 02 Sep 2007 14:35:27 GMT
Peter Boughton wrote:
> Ooops.
> This is what I currently have:
> <Host name="localhost" appBase="webapps"/>
> <Host name="" appBase="/home/user0/public_html">
>     <Alias></Alias>
>     <Context path="" docBase="/home/user0/public_html" reloadable="true"/>
> </Host>
> What do I need to change so that will load
> /home/user0/public_html/whatever ?

I would use:
<Host name="localhost" appBase="webapps"/>
<Host name="" appBase="/home/user0/webapps">

and not define any contexts in server.xml

Contents for the root web application would then be placed in

context for the foobar context in



To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message