forked from djluo/mod_auth_mysql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsvn_vhost.conf
36 lines (31 loc) · 872 Bytes
/
svn_vhost.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
LoadModule mysql_auth_module modules/mod_auth_mysql.so
<VirtualHost *:80>
#DocumentRoot /home/svn/htdocs
<Location />
DAV svn
SVNParentPath /home/svnroot
AuthType Basic
AuthName "Redmine for OA02"
Order Deny,Allow
Deny from all
Satisfy Any
Require valid-user
AuthMySQLHost "192.168.1.100"
AuthMySQLUser "svn"
AuthMySQLPassword "svn_redmine"
AuthMySQLDB "redmine"
AuthMySQLUserTable "users"
AuthMySQLNameField "login"
AuthMySQLPasswordField "hashed_password"
AuthMySQLSaltField "salt"
AuthMySQLPwEncryption "redmine"
AuthMySQLUserCondition "users.status = 1"
AuthMySQLEnable On
#AuthUserFile /home/svnroot/conf/default.passwd
#AuthUserFile /dev/null
AuthBasicAuthoritative Off
AuthzSVNAccessFile /home/svnroot/conf/default.access
</Location>
ServerName svn.xialuxing.com
DirectoryIndex index.html
</VirtualHost>