File: auth.conf

package info (click to toggle)
libapache2-mod-intercept-form-submit 1.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 160 kB
  • sloc: ansic: 417; sh: 86; makefile: 26
file content (27 lines) | stat: -rw-r--r-- 824 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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>