You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-analyzer/munin/files/munin.apache.include

32 lines
604 B

# -*- apache -*-
ScriptAlias /munin-cgi/ /usr/libexec/munin/cgi/
Alias /munin/static /etc/munin/static
<IfDefine MUNIN_HTML_CGI>
RewriteEngine on
RewriteCond %{REQUEST_URI} (/|\.html)$
RewriteCond %{REQUEST_URI} !/static
RewriteRule ^/munin/(.*) /munin-cgi/munin-cgi-html/$1 [PT,L]
</IfDefine>
<Directory /usr/libexec/munin/cgi/>
Options +ExecCGI
Order allow,deny
Allow from all
<IfModule mod_fcgid.c>
SetHandler fcgid-script
</IfModule>
<IfModule !mod_fcgid.c>
SetHandler cgi-script
</IfModule>
</Directory>
<Directory /etc/munin/static>
Order allow,deny
Allow from all
</Directory>