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

RE: [cobalt-users] Invalid AuthPAM_Enabled on RAQ550



There's been a lot of threads on this issue with Webalizer and AuthPAM, and
the default config of Webalizer for the various vsites.

The simple solution is to just create your own .htaccess and .htpasswd file
in the stats dir.

Here's a .htaccess that'll work on your 550 and Webalizer:

AuthUserFile /home/.sites/143/site2/web/stats/.htpasswd
AuthGroupFile /dev/null
AuthName "Protected Area"
AuthType Basic
<Limit GET PUT POST>
require valid-user

And of course, the .htpasswd will need to be generated...there are some
handy cgi scripts for this if you search around the usual cgi resources on
the web:

Manny

-----Original Message-----
From: cobalt-users-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of Martin Stacey
Sent: Friday, April 11, 2003 11:58 PM
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: [cobalt-users] Invalid AuthPAM_Enabled on RAQ550



I get the following in my log file on the RAQ550

[Sat Apr 12 07:22:31 2003] [alert] [client 62.190.120.35]
/home/.sites/143/site2/web/stats/.htaccess: Invalid command
'AuthPAM_Enabled', perhaps mis-spelled or defined by a module not
included in the server configuration

This happens when I try to use a web browser to access the stats folder
generated either by webalizer or awstats.



My .htaccess looks like this:

#Access file
order allow,deny
allow from all
require group site2
Authname WebStats
Authtype Basic
AuthAuthoritative off
AuthPAM_Enabled on

The web browser  reports:

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

If I delete the .htaccess file in the stats/awstats directory then the
web browser can view the statistics, until I run awstats again and the
.htaccess is rewritten.

What should the
 AuthPAM_Enabled on

line in my .htaccess file look like ?
Why is it not recognized ?


Regards

Martin



_____________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users