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

RE: [cobalt-users] htpasswd authentication



>-----Original Message-----
Subject: Re: [cobalt-users] htpasswd authentication


>whenever I write the .htaccess file, it says internal error. Can you help
me
>how to write the .htacess and .htpasswd file and where should they be saved
?

This works fine for me.

---------------------------------------------
 cat /home/sites/site1/.htpasswd | more

user:wDfkmTTyOpd


 cat /home/sites/site1/web/private/.htaccess

AuthName "PRIVATE AREA"
AuthType Basic
AuthUserFile /home/sites/site1/.htpasswd
AuthPAM_Enabled off
<Limit GET POST>
require valid-user
</Limit>


I think the bit most people miss is the AuthPAM_Enabled off

Hope this helps.
Sean