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

[cobalt-developers] ++++++ htaccess on raq550 ??????



have installed on my 550 the AWStats for statistics info.
I cant do it work fine 'cause .htaccess file not allow users to enter stats,
receiveing the following error:
**The server encountered an internal error or misconfiguration and was
unable to complete your request. Your administrator may not have enabled CGI
access for this directory. **
The .htaccess file looks like:

#Access file
order allow,deny
allow from all
Require valid-user
Authname WebStats
Authtype Basic
AuthAuthoritative off

But never siteadmin users could get into stats.
If I replace  existing .htaccess for another like the following users could
access stats, but if he changes their passwords, this .htaccess keep the old
password, and never change.

#Access file
order allow,deny
allow from all
Require valid-user
Authname WebStats
Authtype Basic
AuthUserFile /home/sites/www.sitename.com/web/awstats/.users
AuthAuthoritative off

I create the password file with the follow sentence:
/usr/bin/htpasswd -c .users username

This ways works fine, but is not sensitive for passwords changes.
Someone have a better global solution?

Regards
Andrew S. C.