fix intermittent 900 NET OR SSL error, RT#42648
[freeside.git] / htetc / freeside-base2.4.conf
index 36ce3a5..f0b44d7 100644 (file)
@@ -1,18 +1,17 @@
 PerlModule Apache2::compat
 
-PerlModule DBIx::Profile
+#PerlModule DBIx::Profile
 #PerlModule Apache::DBI
 
 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::AuthCookieHandler24
@@ -63,6 +62,11 @@ PerlSetVar FreesideHttpOnly 1
     <Files "freeside.css">
         Satisfy any
     </Files>
+
+    <Files ~ "(\.html)$">
+        Deny from all
+        SetHandler None
+    </Files>
 </Directory>
 
 <Directory %%%FREESIDE_DOCUMENT_ROOT%%%/rt/Helpers/>