在安装目录下\VisualSVN Server\conf
更改httpd.conf加入
Include conf/httpd-custom.conf
新建httpd-custom.conf文件,配置需要禁止访问的版本库
1 2 3 4 5 6 7 8 9 10 11 |
LoadModule authz_host_module bin/mod_authz_host.so <Location ~ /svn/(web|android|iphone|server)> Options FollowSymLinks AllowOverride None RewriteEngine on Order Deny,Allow Deny From All Allow From 192.168.1.0/24 Allow From 120.55.188.23 </Location> |