2011-02-03 02:08:32 +01:00
|
|
|
<IfModule mod_cgi.c>
|
2012-02-19 18:08:32 +01:00
|
|
|
ScriptAlias /collectd-js /srv/www/collectd-js/index.cgi
|
2011-02-03 02:08:32 +01:00
|
|
|
|
|
|
|
# Access control:
|
|
|
|
<Directory "/srv/www/collectd-js">
|
2018-06-09 19:01:18 +02:00
|
|
|
<IfModule mod_authz_core.c>
|
|
|
|
# Apache 2.4
|
|
|
|
<RequireAll>
|
|
|
|
Require all granted
|
|
|
|
</RequireAll>
|
|
|
|
</IfModule>
|
|
|
|
<IfModule !mod_authz_core.c>
|
|
|
|
# Apache 2.2
|
|
|
|
Order allow,deny
|
|
|
|
Allow from all
|
|
|
|
</IfModule>
|
2011-02-03 02:08:32 +01:00
|
|
|
</Directory>
|
|
|
|
|
|
|
|
<Directory "/srv/www/collectd-js/bin">
|
|
|
|
Options +ExecCGI
|
|
|
|
AddHandler cgi-script .cgi
|
2018-06-09 19:01:18 +02:00
|
|
|
<IfModule mod_authz_core.c>
|
|
|
|
# Apache 2.4
|
|
|
|
<RequireAll>
|
|
|
|
Require all granted
|
|
|
|
</RequireAll>
|
|
|
|
</IfModule>
|
|
|
|
<IfModule !mod_authz_core.c>
|
|
|
|
# Apache 2.2
|
|
|
|
Order allow,deny
|
|
|
|
Allow from all
|
|
|
|
</IfModule>
|
2011-02-03 02:08:32 +01:00
|
|
|
</Directory>
|
|
|
|
|
|
|
|
</IfModule>
|