我已经把mod_auth_mysql.so 放到modules下面,可以运行!但是我加了一下
AuthMySQLEnable on
AuthMySQLHost localhost          #数据库地址
AuthMySQLDB svnmanager         #使用svnmanage数据库
AuthMySQLUserTable user
AuthMySQLUser     root            #数据库连接用户名
AuthMySQLPassword  dzy        #数据库连接密码
AuthMySQLNameField username  
AuthMySQLPasswordField password 
AuthMySQLPwEncryption none
#AuthMySQLUserCondition "depart_id=1 and active=1 and approved=1"   #depart_id=1, 为允许部门编号为1的用户访问
#AuthMySQLNoPasswd off
#AuthMySQLAuthoritative off
就运行不了,apache启动不了啊,不知道什么问题???

解决方案 »

  1.   

    我也遇到了这个问题
    httpd.exe: Syntax error on line 90 of D:/Program Files/Apache Software Foundation/Apache2.2/conf/httpd.conf: Cannot load D:/Program Files/Apache Software Foundation/Apache2.2/modules/mod_auth_mysql.so into server: %1 \xb2\xbb\xca\xc7\xd3\xd0\xd0\xa7\xb5\xc4 Win32 \xd3\xa6\xd3\xc3\xb3\xcc\xd0\xf2\xa1\xa3  
    [Thu Dec 23 09:45:04 2010] [warn] (OS 995)由于线程退出或应用程序请求,已放弃 I/O 操作。  : winnt_accept: Asynchronous AcceptEx failed.
    [Thu Dec 23 09:45:04 2010] [notice] Child 148: Released the start mutex
    [Thu Dec 23 09:45:05 2010] [notice] Child 148: All worker threads have exited.
    [Thu Dec 23 09:45:05 2010] [notice] Child 148: Child process is exiting估计是下载的mod_auth_mysql.so有问题
      

  2.   

    是下载的mod_auth_mysql.so有问题。(若是到http://www.heuer.org/mod_auth_mysql/下的话,就会有这样的问题)
    到http://202.116.160.97/apache/modules/下载mod_auth_mysql.so就可以正常加载了。或者google搜索一个
    mod_auth_mysql.so intitle:"index of" 找一个大小为1.4M左右的进行下载。