httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mário Gamito <mgam...@telbit.pt>
Subject [users@httpd] How to protect awstats page
Date Mon, 09 Apr 2007 11:38:02 GMT
Hi,

I have this awstats in:
http://www.telbit.pt/awstats/awstats.pl?config=www.telbit.pt

I want to protect it with a login and password.

awstats.pl is located outside Apache's DocumentRoot in
/usr/local/awstats/wwwroot/cgi-bin

I put there a .htaccess file with the following contents:
"AuthUserFile /usr/local/awstats/wwwroot/cgi-bin/.htpasswd
AuthName "stats"
AuthType Basic
require valid-user"

but it doesn't work, the page is unprotected.

Also i've tried to put put the .htaccess file in
/usr/local/awstats/
but no good either.

Any help would be appreciated.

Warm Regards
-- 
:wq! Mário Gamito

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message