%CATALINA%\conf\web.xml

<servlet>
        <init-param>
                <param-name>listings</param-name>
                <param-value>false</param-value>
        </init-param>
</servlet>

- Andrew Conrad

> -----Original Message-----
> From: Nikolas A. Rathert [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, July 31, 2002 6:25 AM
> To: [EMAIL PROTECTED]
> Subject: Suppression of directory listing in Tomcat
> 
> 
> Hi - I just posted some hours ago.
> Could anybody give me a hint for my problem please: how do I 
> have to configure server.xml or whatever to tell Tomcat that 
> it should not show the complete directory to the user in case 
> there is no index.html or something like that in the 
> directory? I know how to handle that with Apache but the 
> htdocs directory has nothing to do with Tomcats webapps. 
> Therefore, there has to be another solution.
> 
> Cheers,
> 
> Nick
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:tomcat-user-> [EMAIL PROTECTED]>
> For 
> additional commands, 
> e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to