fix submission bug w/chrome, RT#12638
[freeside.git] / htetc / freeside-base2.conf
1 PerlModule Apache2::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 #Locale::SubCountry
12 #
13 AddDefaultCharset UTF-8
14
15 <Directory %%%FREESIDE_DOCUMENT_ROOT%%%>
16 AuthName Freeside
17 AuthType Basic
18 AuthUserFile %%%FREESIDE_CONF%%%/htpasswd
19 require valid-user
20 <Files ~ "(\.cgi|\.html)$">
21 SetHandler perl-script
22 PerlHandler HTML::Mason
23 </Files>
24 </Directory>
25 <Directory %%%FREESIDE_DOCUMENT_ROOT%%%/rt/Helpers/>
26 SetHandler perl-script
27 PerlHandler HTML::Mason
28 </Directory>
29
30 <Directory %%%FREESIDE_DOCUMENT_ROOT%%%/loginout>
31 AuthName Freeside
32 AuthType Basic
33 AuthUserFile %%%FREESIDE_CONF%%%/htpasswd.logout
34 require valid-user
35 <Files ~ "(\.cgi|\.html)$">
36 SetHandler default-handler
37 </Files>
38 </Directory>
39