ITeye博客

svn location with mysql validation setting in httpd.conf of apache

hehch · 2011-12-13 09:53 · subversion · apache · mysql · 开源软件 · Markdown

<Location /repos1> DAV svn

#SVNListParentPath on 
#SVNParentPath e:/svn 

SVNPath E:/MyProgram/svn_repository/repos1

    #权限文件
AuthzSVNAccessFile E:/MyProgram/svn_repository/conf/group.access

#try anonymous access first,resort to real 
#authentication if necessary. 
#Satisfy Any 

Require valid-user 

#SVNIndexXSLT "/svnindex.xsl"

#how to authenticate a user 
AuthType Basic 
#弹出认证窗口的描述字符串 
AuthName "Check ID:" 
#用户密码文件 
#AuthUserFile E:/MyProgram/svn_repository/conf/auth_user
    #链接mysql ip 
AuthMySQLHost localhost
#用户名 
AuthMySQLUser root 
#密码
AuthMySQLPassword root
#数据库名 
AuthMySQLDB safetys-oa    
#表名
AuthMySQLUserTable fk_user  
#用户名字段
AuthMySQLNameField user_name 
#密码字段
AuthMySQLPasswordField user_pass 
#新的版本已经不支持这种用法,而使用下面一种用法
#AuthMySQLMD5Passwords On 
#none | crypt | scrambled | md5 | aes | sha1 
AuthMySQLPwEncryption md5

 </Location>

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。