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

[cobalt-users] RE: Raq4 Authentication



>Hi Guys (n'gals),

>A little problem with a raq4i authenticating protected directories.

>I've added a .htaccess file and .htpasswd file to a directory i'd like
>to protect on my server, problem is the dialogue box pops up when
>requesting a page from that directory but it won't authenticate and
>gives me the normal rejected notice after three attempts. This happens
>across all virtual sites.

>Any idea's.

>the .htaccess file (changed directory name for security reasons)

># Access file
>order allow,deny
>allow from all
>require valid-user
>Authname DirectoryName
>AuthPAM_Enabled off
>Authtype Basic
>AuthUserFile home/sites/home/web/mydirectorynamehere/.htpasswd

>The .htpasswd file is in the same directory and contains the login
>username and encrypted password.


I believe that the .htpasswd file must be placed outside of the protected folder for it to work.