You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Duncan Smith <ja...@deckertelecom.net> on 2001/12/13 15:51:03 UTC

Directory browsing

Hi all.

How does one disable directory browsing for a Context (or even a
Service)?

Many thanks
Duncan


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: Directory browsing

Posted by Andy Soedibjo <as...@montrouge.sema.slb.com>.
I don't know how to make it in service or context ... but you can try to 
edit the <tomcat_home>\conf\web.xml, and change
the servlet default configurations to :
<init-param>
       <param-name>listings</param-name>
       <param-value>false</param-value>
</init-param>

Rgds,
Andy.

At 14:51 13/12/2001 +0000, you wrote:
>Hi all.
>
>How does one disable directory browsing for a Context (or even a
>Service)?
>
>Many thanks
>Duncan
>
>
>--
>To unsubscribe:   <ma...@jakarta.apache.org>
>For additional commands: <ma...@jakarta.apache.org>
>Troubles with the list: <ma...@jakarta.apache.org>