$ sudo /etc/init.d/apache2 restart
geeft:
Syntax error on line 35 of /etc/apache2/conf.d/awstats.conf:
Invalid command 'Auth_MySQL_User', perhaps misspelled or defined by a module not included in the server configuration
De auth_mysql module is geladen. De awstats.conf:
#
# File generated by iRedMail (2009.07.16.16.41.08):
#
# Version: 0.5.0-rc2
# Project: http://code.google.com/p/iredmail/
#
# If you deploy iRedMail in product environment, we suggest
# you public your information in 'Success Stories' forum to help us
# promote iRedMail.
#
# Forum: http://www.iredmail.org/forum/
#
# Note: Please refer to /etc/apache2/sites-available/default-ssl for SSL/TLS setting.
#Alias /awstats/icon /usr/share/awstats/icon/
#ScriptAlias /awstats /usr/share/awstats/
#Alias /css /usr/share/awstats/css/
#Alias /js /usr/share/awstats/js/
<Directory /usr/lib/cgi-bin//>
DirectoryIndex awstats.pl
Options ExecCGI
order deny,allow
allow from all
#allow from 127.0.0.1
AuthName "Authorization Required"
AuthType Basic
AuthMYSQL on
AuthBasicAuthoritative Off
AuthUserFile /dev/null
# MySQL server, username, password.
Auth_MySQL_Host localhost
Auth_MySQL_User vmail
Auth_MySQL_Password TJiF1ryjsCjmeQXfCIbLhpUTs2NPaM
# Database related.
AuthMySQL_DB vmail
AuthMySQL_Password_Table admin
Auth_MySQL_Username_Field username
Auth_MySQL_Password_Field password
# Password related.
AuthMySQL_Empty_Passwords off
AuthMySQL_Encryption_Types Crypt_MD5
Auth_MySQL_Authoritative On
Require valid-user
</Directory>
Iemand een idee? Ik zoek me rottig ...