VisualSVN Server配置禁止IP访问

在安装目录下\VisualSVN Server\conf

更改httpd.conf加入

Include conf/httpd-custom.conf

新建httpd-custom.conf文件,配置需要禁止访问的版本库

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>

 

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

这个站点使用 Akismet 来减少垃圾评论。了解你的评论数据如何被处理

相关文章

开始在上面输入您的搜索词,然后按回车进行搜索。按ESC取消。

返回顶部