| Author |
Message |
Emmanuel.Leguy *nix forums beginner
Joined: 03 Mar 2006
Posts: 8
|
Posted: Thu Jun 15, 2006 2:51 pm Post subject:
mod_autoindex ignore restrited directory
|
|
|
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
|
Posted: Thu Jun 15, 2006 3:03 pm Post subject:
Re: mod_autoindex ignore restrited directory
|
|
|
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 |
|
 |
|