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

Re: Apache2 and mod_auth_mysql?

I believe you need to separate certain words with underscores, e.g.

Don't forget to set up your authentication table and populate it, and
for me, I needed to stipulate "Auth_MySQL_Encryption_Types Plaintext"
for the lookups to work (which led me to do this over SSL).

Jan Johansson wrote:
> I am trying to use mod_auth_mysql for Apache2, and even tho it is linked
> from mods-enabled, I get
> "Invalid command 'AuthMySQLHost', perhaps mis-spelled or defined by a
> module not included in the server configuration" any hints?
> (yes, I restarted Apache2)
> Versions:
> apache2	2.0.55-4.1
> libapache2-mod-auth-mysql	4.3.9-2.1
> Here is my .htaccess
> AuthName "My Authorization test"
>     AuthType Basic
>     AuthMySQLHost localhost
>     AuthMySQLDB test
>     AuthMySQLUserTable "user_info"
>     require valid-user
> haven:~# ls /etc/apache2/mods-enabled/
> auth_mysql.load  cgi.load  php5.conf  php5.load  ssl.conf  ssl.load
> haven:~#

Reply to: