niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
· nixdoc.net · man pages · Linux HOWTOs · FreeBSD Tips · Forums
navigation Forum index » Apps » Apache
mod_autoindex ignore restrited directory
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
Author Message
Emmanuel.Leguy
*nix forums beginner


Joined: 03 Mar 2006
Posts: 8

PostPosted: Thu Jun 15, 2006 2:51 pm    Post subject: mod_autoindex ignore restrited directory Reply with quote

Hello,

When i have directives which restrict access in a .htaccess file, i
can't list the directory in the upper directory. Is it normal?

Ex:

in http://www.truc.fr/dir/child/ i have this .htaccess:

AuthType Basic
AuthName "restricted access"
AuthBasicAuthoritative off
require valid-user

If i request http://www.truc.fr/dir/ the listing is:

machin/ 13-Jun-2006 09:39 -
truc/ 13-Jun-2006 09:39 -
bidule.html 13-Jun-2006 09:39 -


If i supress the four directives, the listing:

child/ 13-Jun-2006 09:39 -
machin/ 13-Jun-2006 09:39 -
truc/ 13-Jun-2006 09:39 -
bidule.html 13-Jun-2006 09:39 -


Thank you,

Manu.

--
Emmanuel Leguy LIFL - UMR8022 CNRS - Bat M3
Tel: +33 3 28 77 85 32 USTL - Universite de Lille 1
Fax: +33 3 28 77 85 37 59655 VILLENEUVE D'ASCQ CEDEX - FRANCE

mailto:Emmanuel.Leguy@lifl.fr http://www.lifl.fr/ANNUAIRE/employee.php?login=leguye

Ce mail est signe par un certificat X509 fourni par le CNRS
La verification de ce certificat peut etre faite a l'adresse suivante:
http://igc.services.cnrs.fr/CNRS-Standard/recherche.html
Back to top
Joshua Slive
*nix forums Guru


Joined: 07 Feb 2005
Posts: 1647

PostPosted: Thu Jun 15, 2006 3:03 pm    Post subject: Re: mod_autoindex ignore restrited directory Reply with quote

On 6/15/06, Emmanuel.Leguy <Emmanuel.Leguy@lifl.fr> wrote:
Quote:
Hello,

When i have directives which restrict access in a .htaccess file, i
can't list the directory in the upper directory. Is it normal?

Yes, it is normal. For security reasons, it is best not to display
restricted resources to the public. But see the IndexOptions
AllowForbidden option if you want to turn it off (available only in
recent versions).

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
The time now is Fri Mar 12, 2010 12:52 am | All times are GMT
navigation Forum index » Apps » Apache
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts postfix - mail directory bandito Postfix 0 Tue Dec 09, 2008 11:13 pm
No new posts change default install directory when using bdist_rpm krithika.sridhar@gmail.co python 1 Fri Jul 21, 2006 4:09 am
No new posts how to get perl to untar a tar.gz to a different directory Jack Perl 2 Fri Jul 21, 2006 12:40 am
No new posts way to ignore pga_aggregate_target for a batch job? NetComrade Server 3 Thu Jul 20, 2006 6:07 pm
No new posts /etc/postgresql/postgresql.env: No such file or directory Iuri Sampaio Debian 1 Wed Jul 19, 2006 8:40 pm

Copyright © 2004-2005 DeniX Solutions SRL   Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum |  Privacy Policy



Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0580s ][ Queries: 14 (0.0329s) ][ GZIP on - Debug on ]