summaryrefslogtreecommitdiffstats
path: root/tests/httpd.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/httpd.conf')
-rw-r--r--tests/httpd.conf17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/httpd.conf b/tests/httpd.conf
index 66054c1..60d23c8 100644
--- a/tests/httpd.conf
+++ b/tests/httpd.conf
@@ -148,6 +148,23 @@ CoreDumpDirectory /tmp
Require valid-user
</Location>
+<Location /spnego_rewrite>
+ Options +Includes
+ AddOutputFilter INCLUDES .html
+
+ AuthType GSSAPI
+ AuthName "Login"
+ GssapiCredStore ccache:${HTTPROOT}/tmp/httpd_krb5_ccache
+ GssapiCredStore keytab:${HTTPROOT}/http.keytab
+ GssapiAllowedMech krb5
+ Require valid-user
+
+ RewriteEngine on
+ RewriteCond %{REQUEST_FILENAME} !-d
+ RewriteCond %{REQUEST_FILENAME} !-f
+ RewriteRule . /spnego_rewrite/index.html [L]
+</Location>
+
<Location /spnego_negotiate_once>
AuthType GSSAPI
AuthName "Login Negotiate Once"