Chinaunix首页 | 论坛 | 博客

分类: LINUX

2015-07-17 14:43:55

配置文件:
<Location /svn>
  Order Deny,Allow
  Deny from all
  DAV svn
  SVNListParentPath on
  SVNParentPath /data/svnrepo
  AuthzSVNAccessFile /data/svnrepo/authz


  AuthMySQLEnable On
  AuthMySQLHost 172.16.12.49
  AuthMySQLUser redmine
  AuthMySQLPassword redmine
  AuthMySQLDB redmine
  AuthMySQLUserTable "users"
  AuthMySQLNameField login
  AuthMySQLPasswordField hashed_password
  AuthMySQLPwEncryption sha1
  AuthMySQLUserCondition "users.`status` = 1"


  Require valid-user
</Location>


报错:
[root@kvm conf.d]# /etc/init.d/httpd restart       
Stopping httpd:                                            [FAILED]
Starting httpd: Syntax error on line 49 of /etc/httpd/conf.d/subversion.conf:
Invalid command 'AuthMySQLEnable', perhaps misspelled or defined by a module not included in the server configuration
                                                           [FAILED]



解决方法:
[root@kvm conf.d]# yum install -y mod_auth_mysql.x86_64   
阅读(770) | 评论(0) | 转发(0) |
0

上一篇:安装ansible错误及对应解决方法

下一篇:没有了

给主人留下些什么吧!~~
评论热议
请登录后评论。

登录 注册