Re: [Resin-interest] How to deny directory listing with Resin?

2007-01-10 Thread Lucas Pereira
Hei, just commented 

on resin.conf and when try to access folders a 404 Not Found Error Shows. It should be a 403 Permission Denied (since the folder exists) but it's ok with me!
Thanks
Lucas


From: Mattias Jiderhamn <[EMAIL PROTECTED]>Reply-To: General Discussion for the Resin application serverTo: General Discussion for the Resin application server, resin-interest@caucho.comSubject: Re: [Resin-interest] How to deny directory listing with Resin?Date: Wed, 10 Jan 2007 22:08:42 +0100At least with 3.0, just uncomment this from resin.conf  At 2007-01-10 21:53, Lucas Pereira wrote:
Hi all, I'm currently using Resin-3.1.0 as a standalone web server, and my question is how to deny the listing of the directorys that i am using. For instance, i have a php folder, wich contains all my .php files) inside the webapps folder, and when i browse for http://localhost:8080/php i get the list of all my php files, and that also for other folders, like images. I've tried to use the .htaccess inside the folders but no success (since i don't no if i'm supose to use that of is the content of the file is correct. .htaccessAllowOverride NoneDeny From All Thanks Lucas
>___>resin-interest mailing list>resin-interest@caucho.com>http://maillist.caucho.com/mailman/listinfo/resin-interest
Express yourself instantly with MSN Messenger! MSN Messenger Download today it's FREE!


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] How to deny directory listing with Resin?

2007-01-10 Thread Mattias Jiderhamn

At least with 3.0, just uncomment this from resin.conf
  servlet-class="com.caucho.servlets.DirectoryServlet"/>



At 2007-01-10 21:53, Lucas Pereira wrote:

Hi all,

I'm currently using Resin-3.1.0 as a standalone web server, and my 
question is how to deny the listing of the directorys that i am using.
For instance, i have a php folder, wich contains all my .php files) 
inside the webapps folder, and when i browse for 
http://localhost:8080/php i get the list 
of all my php files, and that also for other folders, like images. 
I've tried to use the .htaccess inside the folders but no success 
(since i don't no if i'm supose to use that of is the content of the 
file is correct.


.htaccess

AllowOverride None
Deny From All


Thanks

Lucas
___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


[Resin-interest] How to deny directory listing with Resin?

2007-01-10 Thread Lucas Pereira
Hi all,
 
I'm currently using Resin-3.1.0 as a standalone web server, and my question is how to deny the listing of the directorys that i am using. 
For instance, i have a php folder, wich contains all my .php files) inside the webapps folder, and when i browse for http://localhost:8080/php i get the list of all my php files, and that also for other folders, like images. I've tried to use the .htaccess inside the folders but no success (since i don't no if i'm supose to use that of is the content of the file is correct.
 
.htaccess
AllowOverride NoneDeny From All
 
Thanks
 
LucasDon't just search. Find. MSN Search Check out the new MSN Search!


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest