blob: 76e79976e60d9d3899380a41c60faaad519e3900 (
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
|
PerlModule Apache2::compat
#PerlModule Apache::DBI
PerlModule HTML::Mason
PerlSetVar MasonArgsMethod CGI
PerlModule HTML::Mason::ApacheHandler
PerlRequire "%%%MASON_HANDLER%%%"
#Locale::SubCountry
AddDefaultCharset ISO-8859-1
<Directory %%%FREESIDE_DOCUMENT_ROOT%%%>
AuthName Freeside
AuthType Basic
AuthUserFile %%%FREESIDE_CONF%%%/htpasswd
require valid-user
<Files ~ "(\.cgi|\.html)$">
SetHandler perl-script
PerlHandler HTML::Mason
</Files>
</Directory>
<Directory %%%FREESIDE_DOCUMENT_ROOT%%%/rt/Helpers/>
SetHandler perl-script
PerlHandler HTML::Mason
</Directory>
<Directory %%%FREESIDE_DOCUMENT_ROOT%%%/loginout>
AuthName Freeside
AuthType Basic
AuthUserFile %%%FREESIDE_CONF%%%/htpasswd.logout
require valid-user
<Files ~ "(\.cgi|\.html)$">
SetHandler default-handler
</Files>
</Directory>
|