After hunting this problem down I found an easy fix on tomcat. So easy that
upsets me...

Just setting listings to false did the trick on web.xml

System Incident Report

<init-param>

<param-name>listings</param-name>

<param-value>false</param-value>

</init-param>

I'm going to try LocationMatch it's better than displaying a tomcat 404

Thanks for your help

Leo
On 12/18/06, Nick Kew <[EMAIL PROTECTED]> wrote:

On Mon, 18 Dec 2006 18:26:06 -0500
"Leo Gil" <[EMAIL PROTECTED]> wrote:

> Hi all,
>
> I have been trying to block the Tomcat directory listing vulnerability
> using Apache's Directory with no success.

No chance.  <Directory> applies to local files, not anything
served by tomcat.  You want <LocationMatch>.


--
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to