Hi,
I'm a Tomcat newbie running v4.0.1 on Win98. Sorry if this has been asked and 
answered. I've done a fair amount of searching but can't find a clear answer.

Note: I'm not talking about servlets, just plain old HTML.

I cannot set the docBase of my app so that e.g., '/images' resolves to 
webapps/appname/images. '/' always resolves to webapps/ and I need to add 
'/appname' to my paths. 

Nothing I try makes any difference including using an absolute path in docBase.

Here's the relevant part of my server.xml

<Host name="localhost" debug="0" appBase="webapps" unpackWARs="true">
        <DefaultContext reloadable="true"/>
        <Context path="" docBase="ROOT" debug="0"/>
        <Context path="/appname" docBase="appname" debug="99" reloadable="true" 
override="true">
            <Realm  ... />
        </Context>
</Host>

Any help is greatly appreciated.

Thanks,

Chris




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to