Invalid command ‘AuthMYSQL’

$ sudo /etc/init.d/apache2 restart
Syntax error on line 16 of /etc/apache2/conf.d/awstats.conf:
Invalid command 'AuthMYSQL', perhaps misspelled or defined by a module not included in the server configuration
Action 'configtest' failed.
The Apache error log may have more information.
   …fail!

$ sudo apt-get install libapache2-mod-auth-mysql

$ sudo a2enmod auth_mysql
Enabling module auth_mysql.
Run '/etc/init.d/apache2 restart' to activate new configuration!

$ sudo /etc/init.d/apache2 restart
 * Restarting web server apache2                                                                                                                        [ OK ]

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s