X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=htetc%2Ffreeside-base2.conf;h=3eef50cadef4784332748581acdb33647a49e7f6;hb=784cd44e2e7763acdd7ec8cb4f5681037f36cfe0;hp=1cd1cc55038a38c0e37a0dbaf0adcb72ecc81a41;hpb=40a7b3dc653e099f7bd0bd762b649b04c4432db2;p=freeside.git diff --git a/htetc/freeside-base2.conf b/htetc/freeside-base2.conf index 1cd1cc550..3eef50cad 100644 --- a/htetc/freeside-base2.conf +++ b/htetc/freeside-base2.conf @@ -6,19 +6,47 @@ PerlModule HTML::Mason PerlSetVar MasonArgsMethod CGI PerlModule HTML::Mason::ApacheHandler +PerlChildInitHandler "sub { srand }" + PerlRequire "%%%MASON_HANDLER%%%" #Locale::SubCountry -AddDefaultCharset ISO-8859-1 +# +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 + + + + AuthName Freeside + AuthType Basic + AuthUserFile %%%FREESIDE_CONF%%%/htpasswd.logout + require valid-user + + SetHandler default-handler +