diff options
Diffstat (limited to 'tests/auth.conf')
-rw-r--r-- | tests/auth.conf | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/auth.conf b/tests/auth.conf index 25975c5..481db08 100644 --- a/tests/auth.conf +++ b/tests/auth.conf @@ -17,3 +17,21 @@ ScriptAlias /authn /var/www/cgi-bin/auth.cgi AuthPAMService web Require valid-user </LocationMatch> + +ScriptAlias /authnp /var/www/cgi-bin/auth.cgi +<LocationMatch ^/authnp> + AuthType Basic + AuthName "private area" + AuthBasicProvider PAM + AuthPAMService web + Require pam-account web +</LocationMatch> + +ScriptAlias /authnp2 /var/www/cgi-bin/auth.cgi +<LocationMatch ^/authnp2> + AuthType Basic + AuthName "private area" + AuthBasicProvider PAM + AuthPAMService web + Require pam-account web2 +</LocationMatch> |