1) Give a welcome file in your web.xml (if all your requests in /jsp goes to
tomcat.
2) Check the "options" in Directory directive(Apache documentation).

     Try something this in your httpd.conf(it might do the job for you)

        <DirectoryMatch /jsp>
        AllowOverride None
        Options None
        allow from all
        </DirectoryMatch>


-----Original Message-----
From: Joseph Wong [mailto:[EMAIL PROTECTED]]
Sent: Sunday, November 26, 2000 9:01 PM
To: [EMAIL PROTECTED]
Subject: How to disable directory listing in Tomcat?


I used Tomcat and Apache to run jsp where I mapped /jsp to Tomcat to handle
jsp program, so I can call abc.jsp by http://ip-address/jsp/abc.jsp through
browser.

However, when I call http://ip-address/jsp/ through browser, a list of jsp
programs under /jsp dirctory were listed. How to disable this feature???

Joseph.
____________________________________________________________________________
_________

Get more from the Web.  FREE MSN Explorer download : http://explorer.msn.com

Reply via email to