httpd-users mailing list archives

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

I have this awstats in:

I want to protect it with a login and password. is located outside Apache's DocumentRoot in

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
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:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message