summaryrefslogtreecommitdiff
path: root/htetc/freeside-base2.conf
blob: 6606129d9baa0258bb05c0553fbafba3d31f3999 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
PerlModule Apache2::compat

#PerlModule Apache::DBI

PerlModule HTML::Mason
PerlSetVar MasonArgsMethod CGI
PerlModule HTML::Mason::ApacheHandler

PerlRequire "%%%MASON_HANDLER%%%"

<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>