[NTLUG:Discuss] Mod_auth_mysql

JM5379@sbcglobal.net JM5379 at sbcglobal.net
Mon Oct 13 11:53:58 CDT 2003


--- 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






More information about the Discuss mailing list