summaryrefslogtreecommitdiffstats
path: root/tests/auth.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auth.conf')
-rw-r--r--tests/auth.conf17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/auth.conf b/tests/auth.conf
new file mode 100644
index 0000000..914d4a5
--- /dev/null
+++ b/tests/auth.conf
@@ -0,0 +1,17 @@
+LoadModule intercept_form_submit_module modules/mod_intercept_form_submit.so
+LoadModule authnz_pam_module modules/mod_authnz_pam.so
+
+ScriptAlias /auth1 /var/www/cgi-bin/auth.cgi
+<LocationMatch ^/auth1>
+ InterceptFormPAMService webl
+ InterceptFormLogin login
+ InterceptFormPassword password
+</LocationMatch>
+
+ScriptAlias /auth1r /var/www/cgi-bin/auth.cgi
+<LocationMatch ^/auth1r>
+ InterceptFormPAMService webl
+ InterceptFormLogin login
+ InterceptFormPassword password
+ InterceptFormPasswordRedact on
+</LocationMatch>