diff options
Diffstat (limited to 'auth_kerb.conf')
-rw-r--r-- | auth_kerb.conf | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/auth_kerb.conf b/auth_kerb.conf new file mode 100644 index 0000000..e76cb39 --- /dev/null +++ b/auth_kerb.conf @@ -0,0 +1,11 @@ + +LoadModule auth_gssapi_module modules/mod_auth_gssapi.so + +<Location /application/login> + AuthType GSSAPI + AuthName "Kerberos Login" + GssapiCredStore keytab:/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> + |