Louis Cloutier
11-23-2007, 08:03 PM
Hi,
I want to protect a directory of my website. I try with .htacces but it does not work.
I made a .htaccess file with a and a .htpasswd file.
In the .htaccess file
AuthName "Section Name"
AuthType Basic
AuthUserFile /home/pafzonec/public_html/topsite/admin/.htpasswd
Require valid-user
and in .htpasswd
theuser:password
When I try to login it said
401 Authorization Required
Invalid login credentials!
Can someone help me?
Thanks
Louis Cloutier
I want to protect a directory of my website. I try with .htacces but it does not work.
I made a .htaccess file with a and a .htpasswd file.
In the .htaccess file
AuthName "Section Name"
AuthType Basic
AuthUserFile /home/pafzonec/public_html/topsite/admin/.htpasswd
Require valid-user
and in .htpasswd
theuser:password
When I try to login it said
401 Authorization Required
Invalid login credentials!
Can someone help me?
Thanks
Louis Cloutier