summaryrefslogtreecommitdiff
path: root/htetc/freeside-base1.99.conf
blob: 8e890e64648d7a7a90194909985d092c2d0faa5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
PerlModule Apache::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>