mod_auth_mysql不验证
我手动编译了httpd-2.2.19和mod_auth_mysql-3.0.0,apache和mod_auth_mysql工作正常,但是当我尝试使用Htaccess进行mysql验证时,总是告诉我密码不正确,但我选中了这个权限,这是我使用的设置 .htaccessmod_auth_mysql不验证,mysql,.htaccess,Mysql,.htaccess,我手动编译了httpd-2.2.19和mod_auth_mysql-3.0.0,apache和mod_auth_mysql工作正常,但是当我尝试使用Htaccess进行mysql验证时,总是告诉我密码不正确,但我选中了这个权限,这是我使用的设置 .htaccess Options Indexes AuthName "Pls enter your username & password" AuthType Basic AuthBasicAuthoritative Off AuthUserF
Options Indexes
AuthName "Pls enter your username & password"
AuthType Basic
AuthBasicAuthoritative Off
AuthUserFile /dev/null
AuthMYSQLEnable on
AuthMySQLHost localhost
AuthMySQLUser my_mysqluser
AuthMySQLPassword my_mysqlpass
AuthMySQLDB my_mysqldb
AuthMySQLUserTable user_auth
AuthMySQLNameField user_name
AuthMySQLPasswordField user_passwd
AuthMySQLPwEncryption off
require valid-use
Mysql表:
CREATE TABLE `user_auth` (
`user_name` char(30) NOT NULL,
`user_passwd` char(20) NOT NULL,
`user_group` char(10) DEFAULT NULL,
PRIMARY KEY (`user_name`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
感谢您的时间,我修复了我添加的问题:authmysqlon请使用回答功能回答您自己的问题。以便将其标记为已关闭。