nagios-business-process-addon/etc/apache-conf.d/nagiosbp.conf.in
2017-04-22 08:30:21 +02:00

29 lines
592 B
Plaintext

ScriptAlias @cgiurl@ "@sbindir@"
<Directory "@sbindir@">
Options ExecCGI
AllowOverride None
Order allow,deny
Allow from all
AuthName "@apache_authname@"
AuthType Basic
AuthUserFile @nagetc@/htpasswd.users
Require valid-user
</Directory>
Alias @htmurl@ "@datarootdir@"
<Directory "@datarootdir@">
Options None
AllowOverride None
Order allow,deny
Allow from all
AuthName "@apache_authname@"
AuthType Basic
AuthUserFile @nagetc@/htpasswd.users
Require valid-user
</Directory>
RedirectMatch ^@htmurl@/?$ @cgiurl@/nagios-bp.cgi