1 PerlModule Apache2::compat
3 #PerlModule Apache::DBI
6 PerlSetVar MasonArgsMethod CGI
7 PerlModule HTML::Mason::ApacheHandler
9 PerlChildInitHandler "sub { srand }"
11 PerlRequire "%%%MASON_HANDLER%%%"
15 AddDefaultCharset UTF-8
17 PerlModule FS::AuthCookieHandler24
18 PerlAddAuthzProvider user FS::AuthCookieHandler24->authz_handler
20 #XXX need to also work properly for installs w/o /freeside/ in path
21 PerlSetVar FreesideLoginScript /freeside/loginout/login.html
23 #PerlSetVar FreesideEverSecure 1
24 PerlSetVar FreesideHttpOnly 1
26 <Directory %%%FREESIDE_DOCUMENT_ROOT%%%>
28 #work around Apache2::AuthCookie vs. mod_dir
29 DirectoryIndex disabled
31 #XXX need to also work properly for installs w/o /freeside/ in path
33 RewriteBase /freeside/
34 RewriteRule ^/?$ /freeside/index.html [L,R=301]
37 AuthType FS::AuthCookieHandler24
38 PerlAuthenHandler FS::AuthCookieHandler24->authenticate
41 <Files ~ "(\.cgi|\.html)$">
42 SetHandler perl-script
43 PerlHandler HTML::Mason
50 AuthType FS::AuthCookieHandler24
51 SetHandler perl-script
52 PerlHandler FS::AuthCookieHandler24->login
55 <Directory %%%FREESIDE_DOCUMENT_ROOT%%%/loginout/>
61 <Directory %%%FREESIDE_DOCUMENT_ROOT%%%/elements/>
62 <Files "freeside.css">
67 <Directory %%%FREESIDE_DOCUMENT_ROOT%%%/rt/Helpers/>
68 SetHandler perl-script
69 PerlHandler HTML::Mason
72 <Directory %%%FREESIDE_DOCUMENT_ROOT%%%/rt/REST/1.0/NoAuth/>