apache下virtualhost与location合用配置转发SVN控制访问
使用apache的文件系统配置
使用virtualhost 实现location 重定向
NameVirtualHost *:80
<VirtualHost *:80>
ServerName yourmail@mail.com
<Location /RDCenter>
DEV svn
SVNPath /home/svn/repo/RDCenter
AuthzSVNAccessFile /home/svn/repo/RDCenter/conf/authz
AuthType Basic
AuthName 'Subversion.zoneyump'
AuthUserFile /home/svn/repo/authfile
Require valid-user
</Location>
ErrorLog logs/**_log
TranserLog logs/**_log
</VirtualHost>
NameVirtualHost *:8080
<VirtualHost *:8080>
ServerName yourmail@mail.com
<Location /RDCarryOut>
DEV svn
SVNPath /home/svn/repo/RDCarryOut
AuthzSVNAccessFile /home/svn/repo/RDCarryOut/conf/authz
AuthType Basic
AuthName 'Subversion.zoneyump'
AuthUserFile /home/svn/repo/authfile
Require valid-user
</Location>
ErrorLog logs/**_log
TranserLog logs/**_log
</VirtualHost>