Re: Disable Directory Browsing in tomcat

2001-03-16 Thread Tagunov Anthony

On Fri, 16 Mar 2001 19:44:33 +0530, Harish Gundecha wrote:

>hi ,
>
>Can u please tell me how did you manage to stop directory listing in Apache
>!!!

in your server.xml file

change the appropriate

to 


if you want to disable serving static files completely
just comment out this:


Pitifully enough i do not know a way to disable this listing
for one webapp while still allowing it for another.
Maybe someelse does.



best regards, Tagunov Anthony





Re: Directory Browsing in tomcat

2001-03-16 Thread Andreas Leitel

You can simply add the Options -Indexes parameter in the 
VirtualHost node.

To make you we site not only present some default "403 Forbidde"
message, you can also define the ErrorDocument to provide -
which could again point to your Root document.


ServerName www.server.com
ServerAdmin [EMAIL PROTECTED]
DocumentRoot D:/sites/xyz
Options -Indexes
ErrorDocument 403 http://www.server.com



cheers
Andreas

ICLIP AGwww.iclip.ch
Andreas Leitel   [EMAIL PROTECTED]
Postfach 3001 Bern+41 (0)78 629 5883




Re: Directory Browsing in tomcat

2001-03-16 Thread Harish Gundecha

hi ,

Can u please tell me how did you manage to stop directory listing in Apache
!!!

Thanks in advance

Kind regards
Harish Gundecha
Systems Administrator
Email: [EMAIL PROTECTED]
Versaware Technologies (India) Pvt. Ltd.
Phone : +91-20-6136028   Extn: 331
- Original Message -
From: Carlos López
To: [EMAIL PROTECTED]
Sent: Friday, January 19, 2001 8:43 PM
Subject: Directory Browsing in tomcat


Hi there

Is there any way to deny acces to any directory in my webapp so that the
user can't browse truw it.

I have already done this in apache but if I type my url whith :8080 it shows
me the directory listing

thanks



Directory Browsing in tomcat

2001-01-19 Thread Carlos López



Hi there
 
Is there any way to deny acces to any directory in 
my webapp so that the user can't browse truw it.
 
I have already done this in apache but if I type my 
url whith :8080 it shows me the directory listing
 
thanks