template AuthUserFile htpasswd to be in FREESIDE_CONF dir instead of hardcoded location
[freeside.git] / htetc / freeside-base1.99.conf
1 PerlModule Apache::compat
2
3 #PerlModule Apache::DBI
4
5 PerlModule HTML::Mason
6 PerlSetVar MasonArgsMethod CGI
7 PerlModule HTML::Mason::ApacheHandler
8
9 PerlRequire "%%%MASON_HANDLER%%%"
10
11 <Directory %%%FREESIDE_DOCUMENT_ROOT%%%>
12 AuthName Freeside
13 AuthType Basic
14 AuthUserFile %%%FREESIDE_CONF%%%/htpasswd
15 require valid-user
16 <Files ~ (\.cgi|\.html)>
17 SetHandler perl-script
18 PerlHandler HTML::Mason
19 </Files>
20 </Directory>
21