PerlModule Apache2::compat
#PerlModule DBIx::Profile
#PerlModule Apache::DBI
PerlModule HTML::Mason
PerlSetVar MasonArgsMethod CGI
PerlModule HTML::Mason::ApacheHandler
PerlRequire "%%%MASON_HANDLER%%%"
PerlChildInitHandler FS::Mason::child_init
#Locale::SubCountry
AddDefaultCharset UTF-8
PerlModule FS::AuthCookieHandler24
PerlAddAuthzProvider user FS::AuthCookieHandler24->authz_handler
#XXX need to also work properly for installs w/o /freeside/ in path
PerlSetVar FreesideLoginScript /freeside/loginout/login.html
#disables HTTP, so HTTPS only
#PerlSetVar FreesideSecure 1
#prevents cookie theft via JS
PerlSetVar FreesideHttpOnly 1
#prevents broken restarts with "couldn't grab the accept mutex" error
Mutex posixsem
#work around Apache2::AuthCookie vs. mod_dir
DirectoryIndex disabled
Options -Indexes
#XXX need to also work properly for installs w/o /freeside/ in path
RewriteEngine On
RewriteBase /freeside/
RewriteRule ^/?$ /freeside/index.html [L,R=301]
AuthName Freeside
AuthType FS::AuthCookieHandler24
PerlAuthenHandler FS::AuthCookieHandler24->authenticate
require valid-user
SetHandler perl-script
PerlHandler HTML::Mason
AuthName Freeside
AuthType FS::AuthCookieHandler24
SetHandler perl-script
PerlHandler FS::AuthCookieHandler24->login
Satisfy any
Satisfy any
Deny from all
SetHandler None
SetHandler perl-script
PerlHandler HTML::Mason
Satisfy any
Satisfy any
SetHandler perl-script
PerlHandler HTML::Mason
Satisfy any
SetHandler perl-script
PerlHandler HTML::Mason