forked from pool/collectd
892240d373
- Fix BuildRequires for collectd-web - Make apache configuration files compatible with Apache v2.2 and v2.4 OBS-URL: https://build.opensuse.org/request/show/614917 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/collectd?expand=0&rev=150
20 lines
475 B
Plaintext
20 lines
475 B
Plaintext
<IfModule mod_cgi.c>
|
|
ScriptAlias /collectd /srv/www/collectd/collection.cgi
|
|
|
|
# Access control:
|
|
<Directory "/srv/www/collectd">
|
|
<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>
|
|
</Directory>
|
|
|
|
</IfModule>
|