summaryrefslogtreecommitdiffstats
path: root/auth_kerb.conf
blob: 70b65a660bf251bd4c452977efdb69196e526e9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

LoadModule auth_kerb_module modules/mod_auth_kerb.so

<Location /application/login>
  AuthType Kerberos
  AuthName "Kerberos Login"
  KrbMethodNegotiate On
  KrbMethodK5Passwd Off
  KrbAuthRealms EXAMPLE.COM
  Krb5KeyTab /etc/http.keytab
  require valid-user
  ErrorDocument 401 '<html><meta http-equiv="refresh" content="0; URL=/application/login2"><body>Kerberos authentication did not pass.</body></html>'
</Location>