summaryrefslogtreecommitdiff
path: root/htetc/freeside-base2.conf
blob: 1cd1cc55038a38c0e37a0dbaf0adcb72ecc81a41 (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
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>