summaryrefslogtreecommitdiffstats
path: root/tests/auth.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auth.conf')
-rw-r--r--tests/auth.conf19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/auth.conf b/tests/auth.conf
index 481db08..1e41de9 100644
--- a/tests/auth.conf
+++ b/tests/auth.conf
@@ -35,3 +35,22 @@ ScriptAlias /authnp2 /var/www/cgi-bin/auth.cgi
AuthPAMService web
Require pam-account web2
</LocationMatch>
+
+ScriptAlias /authnp3 /var/www/cgi-bin/auth.cgi
+<LocationMatch ^/authnp3>
+ AuthType Basic
+ AuthName "private area"
+ AuthBasicProvider PAM
+ AuthPAMService webl
+ Require pam-account webl
+</LocationMatch>
+
+ScriptAlias /authnp4 /var/www/cgi-bin/auth.cgi
+<LocationMatch ^/authnp4>
+ AuthType Basic
+ AuthName "private area"
+ AuthBasicProvider PAM
+ AuthPAMService webl
+ AuthPAMExpiredRedirect http://localhost/fix-password
+ Require pam-account webl
+</LocationMatch>