tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Larry Isaacs <Larry.Isa...@sas.com>
Subject RE: Directory browsing
Date Mon, 25 Feb 2002 14:13:50 GMT
Also, see the "listings" attribute for the StaticInterceptor module:

<http://jakarta.apache.org/tomcat/tomcat-3.3-doc/serverxml.html#StaticInterceptor>

Cheers,
Larry

> -----Original Message-----
> From: rsequeira@transentric.com [mailto:rsequeira@transentric.com]
> Sent: Friday, February 22, 2002 5:02 PM
> To: Tomcat Users List
> Subject: Re: Directory browsing
> 
> 
> 
> The easiest would be to add an index.html. And add the 
> "index.html" to the
> <welcome-file> in the web.xml for that webapp.
> 
> (I don't know if you could do the below in Tomcat 3.3a. I 
> know you can do
> this in Tomcat 4.0.x)
> Turn off directory browsing by adding this for the "default" 
> servlet (see
> web.xml in TOMCAT_HOME/conf/web.xml)
> <init-param>
>        <param-name>listings</param-name>
>        <param-value>false</param-value>
> </init-param>
> 
> RS
> 
> 
> 
> 
> 
> Erwin Ambrosch <ambre@ebutec.com> on 02/22/2002 03:53:13 PM
> 
> Please respond to "Tomcat Users List" <tomcat-user@jakarta.apache.org>
> 
> To:   "Tomcat Users List" <tomcat-user@jakarta.apache.org>
> cc:
> 
> Subject:  Directory browsing
> 
> Hi,
> 
> can one say me how I can switch of directory browsing for TC 3.3a.
> If I send a request http://<host>/<context> I get the 
> directory structure
> of
> the context (docBase) as the response.
> 
> Thanks in advance
> Erwin
> 
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
> 
> 
> 
> 
> 
> 
> 
> 
> 
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
> 

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message