blob: 1bbe90a59696ad58e5fe304b0c521e6832205d72 (
plain)
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
52
53
54
55
56
57
58
59
60
61
|
PerlModule Apache2::compat
#PerlModule Apache::DBI
PerlModule HTML::Mason
PerlSetVar MasonArgsMethod CGI
PerlModule HTML::Mason::ApacheHandler
PerlChildInitHandler "sub { srand }"
PerlRequire "%%%MASON_HANDLER%%%"
#Locale::SubCountry
#
AddDefaultCharset UTF-8
PerlModule FS::AuthCookieHandler
#XXX need to also work properly for installs w/o /freeside/ in path
PerlSetVar FreesideLoginScript /freeside/loginout/login.html
#PerlSetVar FreesideEverSecure 1
PerlSetVar FreesideHttpOnly 1
<Directory %%%FREESIDE_DOCUMENT_ROOT%%%>
AuthName Freeside
AuthType FS::AuthCookieHandler
PerlAuthenHandler FS::AuthCookieHandler->authenticate
PerlAuthzHandler FS::AuthCookieHandler->authorize
require valid-user
<Files ~ "(\.cgi|\.html)$">
SetHandler perl-script
PerlHandler HTML::Mason
</Files>
</Directory>
<Files login>
AuthName Freeside
AuthType FS::AuthCookieHandler
SetHandler perl-script
PerlHandler FS::AuthCookieHandler->login
</Files>
<Directory %%%FREESIDE_DOCUMENT_ROOT%%%/elements/>
<Files "freeside.css">
Satisfy any
</Files>
</Directory>
<Directory %%%FREESIDE_DOCUMENT_ROOT%%%/rt/Helpers/>
SetHandler perl-script
PerlHandler HTML::Mason
</Directory>
<Directory %%%FREESIDE_DOCUMENT_ROOT%%%/rt/REST/1.0/NoAuth/>
Satisfy any
</Directory>
|