I have Tomcat 5.5.27 running on Red Hat Enterprise Linux 2.6.9.-87 

I have a webapp which seems to work fine for servlets that I have deployed.

I have a kind of Application Admin Console which I am developing and from
one of my plain html pages I want users to be able to click on a link which
will then display a directory full of logfiles from which they should be
able to click on any file to view the contents.

I have an href tag in my page as follows :

/raceweb/_links/appserverlogs/YieldCurveServer/ older YieldCurveServer
logfiles 

Instead of showing a dir listing I get a 404 error "The requested resource (
/raceweb/_links/appserverlogs/YieldCurveServer/) is not available.

The "appserverlogs" in the url is actually a link to a directory elsewhere
on the host. I can cd to the raceweb dir under webapps and ls
_links/appserverlogs/YieldCurveServer/* shows me a list of logfiles so it's
not a permission problem and the link is working.

If I get rid of the links and put some test files in the _links dir I
correctly get a dir listing and can click on and read them.

Why would the links be a problem ?  I can see it could be a security issue
perhaps but why is it happening and is there a way to supress the problem ?

I have worked at a site where links like that worked but it was Solaris
rather than Linux and an older version of Tomcat and not installed or
maintained by me.






-- 
View this message in context: 
http://www.nabble.com/Why-404-instead-of-dir-list---tp25037626p25037626.html
Sent from the Tomcat - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to