I am trying to get the following authentication occurring in my apache host file
Code:
<Location /awstats/>
AuthBasicAuthoritative Off
AuthMySQLAuthoritative On
AuthName "Statistics for <DOMAIN>"
AuthType Basic
AuthMySQLHost localhost
AuthMySQLDB syscp
AuthMySQLUser <MySQL_USER>
AuthMySQLPassword <MySQL_PASSWORD>
AuthMySQLUserTable "ftp_users, ftp_groups"
AuthMySQLNameField "ftp_users.username"
AuthMySQLPasswordField "ftp_users.password"
AuthMySQLUserCondition "ftp_users.gid = ftp_groups.gid AND ftp_groups.groupname = '<USER>'"
require valid-user
</Location>
However, i get errors with the following 4 lines each time.
Code:
AuthMySQLUserTable "ftp_users, ftp_groups"
AuthMySQLNameField "ftp_users.username"
AuthMySQLPasswordField "ftp_users.password"
AuthMySQLUserCondition "ftp_users.gid = ftp_groups.gid AND ftp_groups.groupname = '<USER>'"
They are all along the lines of
Code:
Invalid command 'AuthMySQL_User_Table', perhaps misspelled or defined by a module not included in the server configuration
The server is a Debian Lenny server, running
Code:
Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny3 with Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g mod_perl/2.0.4 Perl/v5.10.0 Server
The mod is installed and enabled.
Can anyone shed some light as to why these would fail?