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
	InterceptFormLoginSkip alice bob
</LocationMatch>

ScriptAlias /auth1s /var/www/cgi-bin/auth.cgi
<LocationMatch ^/auth1s>
	InterceptFormPAMService webl
	InterceptFormLogin login
	InterceptFormPassword password
	InterceptFormPasswordRedact on
	AuthPAMExpiredRedirect http://localhost/login?backurl=%s&uid=%u
</LocationMatch>
