forked from pool/collectd
32073e0ab5
Accepted submit request 59758 from user schubi2 OBS-URL: https://build.opensuse.org/request/show/59758 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/collectd?expand=0&rev=1
31 lines
799 B
Plaintext
31 lines
799 B
Plaintext
<IfModule mod_cgi.c>
|
|
ScriptAlias /collectd-js /srv/www/collectd-js/bin/index.cgi
|
|
|
|
# Access control:
|
|
<Directory "/srv/www/collectd-js">
|
|
Order allow,deny
|
|
|
|
# You might want to change this to avoid giving everyone
|
|
# access to the collectd statistics, e.g.:
|
|
# Allow from all
|
|
# Allow from localhost
|
|
# Allow from 192.168.
|
|
Deny from all
|
|
</Directory>
|
|
|
|
<Directory "/srv/www/collectd-js/bin">
|
|
Options +ExecCGI
|
|
AddHandler cgi-script .cgi
|
|
|
|
Order allow,deny
|
|
|
|
# You might want to change this to avoid giving everyone
|
|
# access to the collectd statistics, e.g.:
|
|
# Allow from all
|
|
# Allow from localhost
|
|
# Allow from 192.168.
|
|
Deny from all
|
|
</Directory>
|
|
|
|
</IfModule>
|