X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=htetc%2Ffreeside-base2.conf;h=f2f4c21d067563a56eb07854d3289e9c73a17155;hp=e981ef27b900972aeabe127035c95a2db63a213a;hb=a6c5bd2d56ad177a8f79ac0aa5c88b389513dc82;hpb=49ba2ca1d1b5e642f0f988e849ca7d1ea89b4dd6 diff --git a/htetc/freeside-base2.conf b/htetc/freeside-base2.conf index e981ef27b..f2f4c21d0 100644 --- a/htetc/freeside-base2.conf +++ b/htetc/freeside-base2.conf @@ -6,12 +6,11 @@ PerlModule HTML::Mason PerlSetVar MasonArgsMethod CGI PerlModule HTML::Mason::ApacheHandler -PerlChildInitHandler "sub { srand }" - PerlRequire "%%%MASON_HANDLER%%%" +PerlChildInitHandler FS::Mason::child_init + #Locale::SubCountry -# AddDefaultCharset UTF-8 PerlModule FS::AuthCookieHandler @@ -19,7 +18,10 @@ PerlModule FS::AuthCookieHandler #XXX need to also work properly for installs w/o /freeside/ in path PerlSetVar FreesideLoginScript /freeside/loginout/login.html -#PerlSetVar FreesideEverSecure 1 +#disables HTTP, so HTTPS only +#PerlSetVar FreesideSecure 1 + +#prevents cookie theft via JS PerlSetVar FreesideHttpOnly 1