forked from pool/collectd
9d5eb63f04
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/collectd?expand=0&rev=98
32 lines
807 B
Plaintext
32 lines
807 B
Plaintext
<IfModule mod_cgi.c>
|
|
ScriptAlias /collectd-js /srv/www/collectd-js/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 give access from
|
|
# different hosts to the collectd statistics, e.g.:
|
|
#
|
|
# Allow from all
|
|
# Allow from 192.168.
|
|
Allow from localhost
|
|
Deny from all
|
|
</Directory>
|
|
|
|
</IfModule>
|