[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] htaccess in Apache



Hi all,
 
I want to limit access to directories with .htpasswd and .htaccess files. But when i reach the web page, i get a "Internal error" message. Can anyone help me ? Here is the files (i hid the real passwords and path) :
 
.htaccess
 
AuthUserFile /<directories to be protected>/.htpasswd
AuthGroupFile /dev/null
AuthName Authentification demandée
AuthType Basic
 
<Limit GET POST>
require valid-user
</Limit>
 
.htpasswd
 
user1:passwd1
user2:passwd2