36 lines
957 B
Text
36 lines
957 B
Text
# noc1
|
|
ScriptAlias /nagios/cgi-bin/ /usr/lib64/nagios/cgi-bin/
|
|
|
|
# noc2
|
|
ScriptAlias /nagios-external/cgi-bin/ /usr/lib64/nagios/cgi-bin/
|
|
|
|
# test
|
|
ScriptAlias /nagios-just-a-test/cgi-bin/ /usr/lib64/nagios/cgi-bin/
|
|
|
|
ScriptAlias /tac.cgi /usr/lib64/nagios/cgi-bin/tac.cgi
|
|
|
|
<Location />
|
|
AuthName "Nagios GSSAPI Login"
|
|
GssapiCredStore keytab:/etc/krb5.HTTP_admin.fedoraproject.org.keytab
|
|
AuthType GSSAPI
|
|
# This is off because Apache (and thus mod_auth_gssapi) doesn't know this is proxied over TLS
|
|
GssapiSSLonly Off
|
|
GssapiLocalName on
|
|
Require valid-user
|
|
</Location>
|
|
|
|
<Location ~ "/(nagios|nagios-external|nagios-just-a-test)/cgi-bin/">
|
|
Options ExecCGI
|
|
</Location>
|
|
|
|
<Directory "/usr/share/nagios/html">
|
|
Options None
|
|
</Directory>
|
|
|
|
Alias /nagios /usr/share/nagios/html/
|
|
|
|
# This will only affect noc2 because the proxies only forward -external to it.
|
|
Alias /nagios-external /usr/share/nagios/html/
|
|
|
|
# Test
|
|
Alias /nagios-test /usr/share/nagios/html/
|