提供自己用的管理工具svnmanage
因为工作需要,花了一周时间开发了这个Subversion用户管理的界面,在freebsd 6.1, apache-2.2.3, mod_auth_mysql-3.0.0, subversion-1.4.2下通过。
http.conf设置如下:
<Location /xxx> #xxx为部门名称
DAV svn
SVNPath /.../xxx
AuthType Basic
AuthName "xxx Department Documents"
Options Indexes MultiViews
Order allow,deny
allow from all
#AllowOverride None
AuthUserfile /dev/null
AuthBasicAuthoritative off
AuthName "xxxx company Svn repository"
AuthMySQLEnable on
AuthMySQLHost localhost #数据库地址
AuthMySQLDB svnmanage #使用svnmanage数据库
AuthMySQLUserTable user
AuthMySQLUser test #数据库连接用户名
AuthMySQLPassword test #数据库连接密码
AuthMySQLNameField username
AuthMySQLPasswordField passwd
AuthMySQLPwEncryption none
AuthMySQLUserCondition "depart_id=1 and active=1 and approved=1" #depart_id=1, 为允许部门编号为1的用户访问
AuthMySQLNoPasswd off
AuthMySQLAuthoritative off
Require valid-user
#AuthzSVNAccessFile /usr/local/etc/apache22/SVNAccessFile/svn_authz.conf
</Location>
svnmanage.sql 数据库结构
admin目录 后台管理
管理员用户名密码均为 admin
Connections 数据库连接,请自行修改
附件
-
svnmanage_0.9.rar
(89.67 KB)
-
07-2-1 21:52, 下载次数: 577
svnmanage
-
2_HGDuJ5wRMqua.jpg
(34.74 KB)
-
07-2-1 21:52
2
-
4_SE5f1xQ6U3ky.jpg
(38.3 KB)
-
07-2-1 21:52
3
搜索更多相关主题的帖子:
svnmanage 数据库 工具 quot Order svnmanage 工具 管理