[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] RaQ Password Protect Directory SOLVED
- Subject: [cobalt-users] RaQ Password Protect Directory SOLVED
- From: Wayne Sagar <wsagar@xxxxxxxx>
- Date: Sun Apr 8 07:00:03 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Well, searching does do the trick... I'd been searching and digging my hair out at the roots for three days. Looked at the archives numerous times and tried several links, suggestions and .htaccess configurations to a very frustrating no avail...
Finally kept hitting the arrow in the archives, far beyond the files listed and one popped up out of nowhere that had the answer...
AuthPAM_Enabled off
Apparantly that line must be added to the .htaccess file to make it work and bypass pam in the authorization process..
Example:
AuthName "authorized users only"
AuthType Basic
AuthUserFile /home/sitename/location/.htpasswd
AuthPAM_Enabled off
<Limit GET POST>
require valid-user
</Limit>
(AuthUserFile path changed to protect the innocent:)
Make your password file as below
Example:
/usr/sbin/htpasswd -c /home/sites/home/users/joe/.htpasswd joe
Enter passwd:*******
(sub your info as appropriate above)
So, to the other posts that cover this subject, add the AuthPam_Enabled off and you're dialed
I'll give those who suggest searching the archives this; often the stuff is in there and it is a good idea to search first (I always do)... but mygod... that thing is hard to dig out what you want from sometimes.. I found at least 10 procedures that were wrong wrong wrong and followed every one of them to the letter and spent at least 10 hours on a project that could have taken minutes.
If not for finding the one message buried with the Pam off message added, I'd still be pulling my hair.. or.. walking away from the process and bailing on the idea of, either having stats, or keeping prying eyes from seeing my traffic and all else in there..
Forgot to log who posted that particular message but THANKS!! To the "Phantom" informant...
Wayne Sagar