tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Artigas, Ricardo Y." <...@easycall.net.ph>
Subject RE: Supressing directory contents listing in tomcat 4.0
Date Thu, 06 Sep 2001 01:39:53 GMT
I am not sure if this is the culprit and I haven't tried it out. In the
server.xml, look for these lines. set suppress="true".



        <!-- "default" handler - static files and dirs.  Set the
             "suppress" property to "true" to suppress directory listings
             when no welcome file is present.

             NOTE:  This setting applies to *all* web applications that
             are running in this instance of Tomcat.
          -->
        <RequestInterceptor 
            className="org.apache.tomcat.request.StaticInterceptor" 
            debug="0" suppress="false" />



:~)
Ricky Y. Artigas
Analyst/Programmer /
Database Administrator
Information Technology Division
Easycall Communications Phils., Inc.
> -------------------------------
> IMPORTANT NOTICE: 
	  
> This message (and any attachment hereto) may contain privileged and/or
> confidential information specific to EasyCall. If you are not the intended
> addressee indicated in this message, you may not copy or disseminate this
> message (or any attachment hereto) to anyone. Instead, please destroy this
> message (and any attachment hereto), and kindly notify the sender by reply
> email. Any information in this message (and any attachment thereto) that
> do not relate to the official business of EasyCall shall be understood as
> neither given nor endorsed by the company.
> 
> 
> -----Original Message-----
> From:	sankar kondur [SMTP:shanky001@yahoo.com]
> Sent:	Thursday, September 06, 2001 7:51 AM
> To:	tomcat-user@jakarta.apache.org
> Subject:	Supressing directory contents listing in tomcat 4.0
> 
> Has anyone figured how to suppress directory contents
> listing in Tomcat 4.0
> 
> Checked the code, looks like it shouldn't list
> directory contents at all, but doesn't work.
> 
> thanks,
> SK
> 
> =====
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Get email alerts & NEW webcam video instant messaging with Yahoo!
> Messenger
> http://im.yahoo.com


Mime
View raw message