X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=htetc%2Ffreeside-base2.conf;h=3eef50cadef4784332748581acdb33647a49e7f6;hb=709bd7a384bd8dbde3a15185708a7598e91130d5;hp=dcf5efa3fa187d79a0d80c055f7be05a7d1ef3e3;hpb=9b37fb82c94a480ef6af2f7b9a8b889d4381e703;p=freeside.git diff --git a/htetc/freeside-base2.conf b/htetc/freeside-base2.conf index dcf5efa3f..3eef50cad 100644 --- a/htetc/freeside-base2.conf +++ b/htetc/freeside-base2.conf @@ -6,6 +6,8 @@ PerlModule HTML::Mason PerlSetVar MasonArgsMethod CGI PerlModule HTML::Mason::ApacheHandler +PerlChildInitHandler "sub { srand }" + PerlRequire "%%%MASON_HANDLER%%%" #Locale::SubCountry @@ -13,27 +15,38 @@ PerlRequire "%%%MASON_HANDLER%%%" AddDefaultCharset UTF-8 -AuthName Freeside -AuthType Basic -AuthUserFile %%%FREESIDE_CONF%%%/htpasswd -require valid-user - -SetHandler perl-script -PerlHandler HTML::Mason - + + AuthName Freeside + AuthType Basic + AuthUserFile %%%FREESIDE_CONF%%%/htpasswd + require valid-user + + + SetHandler perl-script + PerlHandler HTML::Mason + + + + + + Deny from all + SetHandler None + + + -SetHandler perl-script -PerlHandler HTML::Mason + SetHandler perl-script + PerlHandler HTML::Mason -AuthName Freeside -AuthType Basic -AuthUserFile %%%FREESIDE_CONF%%%/htpasswd.logout -require valid-user - -SetHandler default-handler - + AuthName Freeside + AuthType Basic + AuthUserFile %%%FREESIDE_CONF%%%/htpasswd.logout + require valid-user + + SetHandler default-handler +