# noc1
ScriptAlias /nagios/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_nagios.stg.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)/cgi-bin/">
  Options ExecCGI
</Location>

<Directory "/usr/share/nagios/html">
  Options None
</Directory>

RewriteEngine on
RewriteRule ^/$ /nagios/ [R]

Alias /nagios /usr/share/nagios/html/

