git-svn-id: svn://192.168.202.10@2888 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
<IfDefine SMOKEPING>
|
||||
# please read how to enable smokeping be a lot faster in
|
||||
# /usr/share/doc/packages/smokeping/README.SUSE
|
||||
Alias /smokeping/cache /var/lib/smokeping/cache
|
||||
<IfModule mod_fastcgi.c>
|
||||
<Location /cgi-bin/smokeping>
|
||||
SetHandler fastcgi-script
|
||||
Require all granted
|
||||
</Location>
|
||||
</IfModule>
|
||||
<Directory /var/lib/smokeping/cache>
|
||||
Options None
|
||||
AllowOverride None
|
||||
Require all denied
|
||||
Require ip 127.0.0.1
|
||||
Require ip 192.168.0.0/16
|
||||
Require ip 10.0.0.0/8
|
||||
Require ip ::1
|
||||
</Directory>
|
||||
</IfDefine>
|
||||
|
||||
# this code will forbid access to frontend
|
||||
# no need to remove it in case when system is not configured correctly
|
||||
<IfDefine !SMOKEPING>
|
||||
Redirect 403 /cgi-bin/smokeping
|
||||
</IfDefine>
|
||||
Reference in New Issue
Block a user