[NTLUG:Discuss] Mod_auth_mysql

JM5379@sbcglobal.net JM5379 at sbcglobal.net
Mon Oct 13 12:14:23 CDT 2003


try using the style at the bottom, with the underscores:

Auth_MySQL_DB <database name>

rather than

AuthMySQLDB



--- Original Message ---
From: rich-lists at multicam.com
To: "'NTLUG Discussion List'" <discuss at ntlug.org>
Subject: RE: [NTLUG:Discuss] Mod_auth_mysql

>This is the error I keep getting in the apache error_log. Any ideas?
>Did I forget to do something in the httpd.conf besides load the
module?
>
>/var/www/html/rich-test/.htaccess: Invalid command 'AuthMySQLDB',
>perhaps mis-spelled or defined by a module not included in the
server
>configuration
>
>
>-----Original Message-----
>From: discuss-bounces at ntlug.org
[mailto:discuss-bounces at ntlug.org] On
>Behalf Of JM5379 at sbcglobal.net
>Sent: Monday, October 13, 2003 10:54 AM
>To: NTLUG Discussion List
>Subject: Re: [NTLUG:Discuss] Mod_auth_mysql
>
>
>
>--- Original Message ---
>From: <rich-lists at multicam.com>
>To: "NTLUG Discussion List" <discuss at ntlug.org>
>Subject: [NTLUG:Discuss] Mod_auth_mysql
>
>>Trying to set up mod_auth_mysql on RedHat 7.3 using the rpm from
>the CD.
>>When I try to configure my .htaccess file I get errors in the
apache 
>>error log stating the syntax is not correct. I think maybe the
>docs I
>>was using are either outdated, or from a newer version. Anyone
>got this
>>working on RedHat 7.3 ?
>>
>>Module is loading when apache runs. Just cant seem to find correct 
>>syntax for .htaccess file.
>>
>>Richard Humphrey
>>
>>
>>_______________________________________________
>>https://ntlug.org/mailman/listinfo/discuss
>
>
>Richard,
>
>here are the two formats i'm aware of.  i believe the upper
version is
>prior to apache 2.0, the lower shoud be for 2.0:
>
>#AuthName "Growth"
>#AuthType Basic
>#
>#AuthMySQLDB common_data
>#AuthMySQLUser 
>#AuthMySQLPassword
>#
>#AuthMySQLUserTable auth_users
>#AuthMySQLNameField sbcuid
>#AuthMySQLPasswordField passwd
>#
>#AuthMySQLGroupTable auth_groups
>#AuthMySQLGroupField groups
>#
>#order deny,allow
>##allow from all
>#require group growth
>
>#################### next style #################
>
>AuthName "Growth"
># Auth_MysSQL on
>Auth_MySQL_DB common_data
>Auth_MySQL_Password_Table auth_users
> Auth_MySQL_Username_Field sbcuid
># Auth_MySQL_Password_Field password
>Auth_MySQL_Empty_Passwords on
>Auth_MySQL_Group_Table auth_groups
>Auth_MySQL_Group_Field groups
>AuthType basic
>require group growth sysadmin
># require valid-user
>
>
>
>
>_______________________________________________
>https://ntlug.org/mailman/listinfo/discuss
>
>
>_______________________________________________
>https://ntlug.org/mailman/listinfo/discuss





More information about the Discuss mailing list