ITKeyword,专注技术干货聚合推荐

注册 | 登录

mysql +svn + mantis 项目验证方式

bayaci 分享于 2012-02-09

推荐:Apache、 PHP、 Mysql、 Svn配置记录

apache 2.2.14  Subversion 1.6.6   php5.3.14  MySQL5.1  TortoiseSVN1.6 一:apache 配置 svn 1、安装apache,测试通过 2、安装subversion 3、将subversion安

2019阿里云全部产品优惠券(新购或升级都可以使用,强烈推荐)
领取地址https://promotion.aliyun.com/ntms/yunparter/invite.html

<Location /repos/test>

#DAV svn

#SVNPath /swp/svn-repository/test

AuthType Basic

AuthName "test SVN Repository"

# Require SSL connection for password protection.

# SSLRequireSSL

<ifModule mod_auth_mysql.c>

# Limit write permission to list of valid users.

<Limit GET PROPFIND OPTIONS REPORT>

Require valid-user

</Limit>

<LimitExcept GET PROPFIND OPTIONS REPORT>

Require group 40 55 70 90

</LimitExcept>

AuthBasicAuthoritative Off

AuthMySQLEnable On

AuthMySQLHost localhost

AuthMySQLUser root

AuthMySQLPassword root

AuthMySQLDB mantisup

AuthMySQLUserTable "mantis_user_table u, mantis_project_user_list_table pl, mantis_project_table p"

AuthMySQLNameField u.username

AuthMySQLPasswordField u.password

AuthMySQLUserCondition "u.enabled = 1 and u.id = pl.user_id and pl.project_id = 2 and p.enabled = 1 and p.id = 2 and \"%U\" like p.file_path"

AuthMySQLPwEncryption md5

AuthMySQLGroupTable "mantis_project_table p, mantis_project_user_list_table pl, mantis_user_table u"

AuthMySQLGroupCondition "p.id = pl.project_id and pl.access_level >= p.access_min and pl.project_id = 2 and u.enabled = 1 and u.id = pl.user_id and pl.project_id = 2 and p.enabled = 1 and p.id = 2"

AuthMySQLGroupField pl.access_level

AuthMySQLAuthoritative ON

</ifModule>

</Location>

            <Location /repos/test>                     #DAV svn                     #SVNPath /swp/svn-repository/test                     AuthType Basic                     AuthNam

相关阅读排行


用户评论

游客

相关内容推荐

最新文章

×

×

请激活账号

为了能正常使用评论、编辑功能及以后陆续为用户提供的其他产品,请激活账号。

您的注册邮箱: 修改

重新发送激活邮件 进入我的邮箱

如果您没有收到激活邮件,请注意检查垃圾箱。