"Leonard Smith" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> To all,
>
> I'm running Tomcat 5.5 on linux and I'm running into a problem with
> URLs. I have a directory in my webapp called "help" with an index.html
> in that directory. If I goto the URL http://foo.bar/help I get a 404
> and the index.html is not loaded. However if I goto the URL
> http://foo.bar/help/ things work fine.
>

Is the "help" directory an actual directory, or a symlink to a directory?

> This is different than what i've seen with Apache httpd and I'm
> assuming it is just a config change, but I haven't been able to track
> it down yet.

Tomcat should redirect the first URL to the second (just like httpd does), 
at least if you don't have a servlet-mapping for '/*', '/help', or 
'/help/*'.  If you have any of these, then it is the responsibility of your 
servlet to handle both forms of the URL.

>
> Can someone point me in the right direction?
>
> Thanks,
> Len
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> 




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to