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

[cobalt-users] .htaccess problem?



Hi!

I wanted to create a password protected dir. So I did the following:

Created the .htaccess file in the /home/sites/site1/web/pw/ dir, that looks
like:

# Access file
order allow,deny
allow from all
require valid-user
Authname PW
Authtype Basic
AuthUserFile /home/sites/site1/web/pw/.htpasswd


Now I typed the following in my telnet prompt:

/usr/sbin/htpasswd -c /home/sites/site1/web/pw/.htpasswd henk

And typed twice the password 'toot5' . Now, I want to login at site1/pw, he
asks for the username + password. I submit the correct info, but he rejects
it?

What am I doing wrong ??

Regards,
H. v. Kilsdonk