Chinaunix首页 | 论坛 | 博客
  • 博客访问: 731464
  • 博文数量: 95
  • 博客积分: 1754
  • 博客等级: 上尉
  • 技术积分: 1607
  • 用 户 组: 普通用户
  • 注册时间: 2010-03-12 10:06
文章分类

全部博文(95)

文章存档

2015年(3)

2013年(15)

2012年(77)

分类: 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   
阅读(3078) | 评论(0) | 转发(0) |
0

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

下一篇:没有了

给主人留下些什么吧!~~