[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] Password Protect RaQ3 Directory Question
- Subject: [cobalt-users] Password Protect RaQ3 Directory Question
- From: Wayne Sagar <wsagar@xxxxxxxx>
- Date: Fri Apr 6 14:24:30 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
I'll preface this with the fact that I spent till 4:30AM last evening searching the archives, read the very informative Authentication Tuturial at http://hoohoo.ncsa.uiuc.edu/docs-1.5/tutorials/user.html
Followed the directions step by step... created the files as directed.. carried out the commands as shown.. All worked.. I had an .htaccess file in the folder that I want to protect (my stats from weblalizer) which looked like
AuthUserFile /home/sites/site#/foldername/.htpasswd
AuthGroupFile /dev/null
AuthName stats
AuthType Basic
<Limit GET>
require user username
</Limit>
I did the htpasswd -c /otherdir/.htpasswd pumpkin (changing the information as necessary) which created the nice .htpasswd file in the proper place..
All of which, in turn, brought up the authentication screen when I would attempt accessing the directory.. I put in the correct password and username and it would not take it..
Cleaning out the .htaccess and .htpasswd files makes the folder available again... but no amount of changing of information seems to make this work..
Done as root (had to, stats folder will not allow me to write to it without logging in as root)
All done in an ssh session (thank you all)... Any ideas here why this is not working?
RaQ3 all updates successfully installed, name based single ip server, SSL enabled for the sitename site... (not this one) SSH enabled same same..
Do I need to chown the .htaccess and/or .htpasswd files?
TIA
WS