File: extra.last.conf.in

package info (click to toggle)
libapache-authenhook-perl 2.00-04%2Bpristine-5
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 224 kB
  • ctags: 17
  • sloc: perl: 182; makefile: 12
file content (51 lines) | stat: -rwxr-xr-x 958 bytes parent folder | download | duplicates (4)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
LogLevel debug
DefaultRuntimeDir run/

# these don't default to handler(), so we need to pre-declare them
PerlModule My::Basic1
PerlModule My::Digest2
PerlModule My::Redirect

PerlLoadModule Apache::AuthenHook

Alias /digest @DocumentRoot@
<Location /digest>
  Require valid-user
  AuthType Digest
  AuthName realm1

  AuthDigestProvider My::Digest1 file My::Digest2::digest

  AuthUserFile realm1
</Location>

Alias /basic @DocumentRoot@
<Location /basic>
  Require valid-user
  AuthType Basic
  AuthName foorealm

  AuthBasicProvider My::Basic1::basic file My::Basic2

  AuthUserFile realm1
</Location>

# not .htaccess for make dist
AccessFileName htaccess

<Directory @DocumentRoot@>
  AllowOverride AuthConfig
</Directory>

<Location /redirect>
  Require valid-user
  AuthType Digest
  AuthName realm1

  AuthDigestProvider My::Digest1 file My::Digest2::digest

  AuthUserFile realm1

  PerlResponseHandler My::Redirect
  SetHandler modperl
</Location>