27 lines
805 B
Plaintext
27 lines
805 B
Plaintext
<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>
|