Since you are not including a port in the URL, it
would appear that you are using Tomcat with Apache
or some other web server. If so, which one?
Both Tomcat and the other web server have their own
idea of what the "root" context is. This can cause
resources to not be visible because the wrong "root"
context is being accessed.
Please provide more detail about how Tomcat and
possibly the other web server are configured.
Cheers,
Larry
> -----Original Message-----
> From: Zhi Shen [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 07, 2001 2:44 PM
> To: '[EMAIL PROTECTED]'
> Subject: web app in root directory
>
>
> Hi,
>
> I'm interested in putting my web app in the root directory so
> that people
> can get to it via http://x.com/index.html instead of
> http://x.com/myapp/index.html
>
>
> Whenever I change the server.xml file:
>
> <Context path=""
> docBase="webapps/myapp"
> crossContext="true"
> debug="0"
> reloadable="true" >
> </Context>
>
> Some of my subdirectories are not found,
> http:/x.com/images/index.html and
> also whenever I goto admin http://x.com/admin/ I get the
> Tomcat admin pages.
>
>
> Does anyone know how to configure this correctly? Thanks in advance.
>