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

Re: [cobalt-users] .htaccess and passwords



Ryan Briones wrote:

>     I've recently taken upon the task of learning how to setup a password
> protected area using Apache's Basic Authentication methods. (BTW, this is on
> a Raq2) I followed the step by step on how to add users/passwords and ow to
> create an .htaccess file. So I go the site and Bam! I get a user/password
> prompt. But when I put in the user/password that I entered using htpasswd
> doesn't authenticate me.

Is your user/password a user already set up on the RaQ or one you
invented for the site?  If the latter, then you need to turn off the
default checking against the /etc/passwd file.  Have you got this line
in your .htaccess file:

AuthPAM_Enabled off

???

Jeff
-- 
Jeff Lasman <jblists@xxxxxxxxxxxxx>
Linux and Cobalt/Sun/RaQ Consulting
nobaloney.net
P. O. Box 52672, Riverside, CA  92517
voice: (909) 778-9980  *  fax: (702) 548-9484