Hello, sorry but i have another probleme with apache autentication. In first directory i have /htdocs , where is my site , is protect with httpd.conf :
AuthName "TESTE"
AuthType Basic
AuthUserFile
require valid-user
But i want another protect directory . I make another directory like teste2 and i put there .htacess with :
AuthType Basic
AuthName "DIRECTORIO EM MANUTENCAO"
AuthUserFile directory with password and user
require valid-user
ok, when i enter my first directory like
http://127.0.0.1 , he make autenticantion, but when i try second sirectory he don't make autentication, what can i do ???
My http.conf
# global (server-wide) SSL configuration, that is not specific to
# any virtual host
Include /etc/apache2/ssl-global.conf
# forbid access to the entire filesystem by default
<Directory />
Options None
AllowOverride All
Order deny,allow
Deny from all
# Autenticação de Usuário
AuthName ")(()()()()()()()()((((((((::::::::::::::::

()()( )()()()()()((()()()(("
AuthType Basic
AuthUserFile directory to password
require valid-user
</Directory>
# use .htaccess files for overriding,
AccessFileName .htaccess
# and never show them
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>
Recent comments
11 hours 44 min ago
16 hours 43 min ago
18 hours 9 min ago
19 hours 2 min ago
20 hours 45 min ago
1 day 1 hour ago
1 day 2 hours ago
1 day 4 hours ago
1 day 17 hours ago
1 day 18 hours ago