[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] configure httpd authentication for /web/stats directory
- Subject: [cobalt-users] configure httpd authentication for /web/stats directory
- From: "Fradley" <fastback72@xxxxxxxxxxx>
- Date: Thu Nov 21 18:06:00 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Hi,
I am trying to allow a site user (other than the site administrator) access
to the /web/stats directory however my efforts have proven unsuccessful.
Followed the documentation at
http://httpd.apache.org/docs-2.0/howto/auth.html but still no luck.
This is what I have done.
1. Created a password file called /home/sites/site8/users/passwords using
command:
htpasswd -c /home/sites/site8/users/passwords username
The passwords file was created successfully
2. Created a password for username using commands:
htpasswd -c /home/sites/site8/users/passwords tcstats
New password: mypassword
Re-type new password: mypassword
Adding password for user username
3. Added the following to the /etc/httpd/conf/access.conf file:
<Directory /home/sites/site8/web/stats>
AuthType Basic
AuthName "Restricted Files"
AuthUserFile /home/sites/site8/users/passwords
require user tcstats
</Directory>
4. Restarted using the command:
/etc/rc.d/init.d/httpd restart
After all this it still only allows the site administrator access to the
/web/stats directory... does anyone have any ideas why this does not work
for me?
Thanks.
System:
RAQ4i
OS Linux Version 2.2.16C32_III
Apache Version 1.3.20