From fdebae88c2c61915566d2eef910f7913c47930c8 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Thu, 18 Sep 2008 16:23:39 -0400
Subject: [PATCH] Better detection of HTML double-encoded entities

---
 .htaccess |   20 ++++++++++++++++----
 1 files changed, 16 insertions(+), 4 deletions(-)

diff --git a/.htaccess b/.htaccess
index 0a3faf2..9e3667b 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1,8 +1,20 @@
-AddDefaultCharset	UTF-8
-php_flag	display_errors	On
-php_value	upload_max_filesize	2m
+# AddDefaultCharset	UTF-8
+AddType text/x-component .htc
 
-<FilesMatch "(\.inc|\~)$|^_">
+<IfModule mod_php5.c>
+  php_flag	display_errors	Off
+  php_flag	log_errors	On
+  php_value	error_log	logs/errors
+  php_value	upload_max_filesize	5M
+  php_value	post_max_size	6M
+  php_value	memory_limit	64M
+  php_value	session.auto_start	0
+  php_value	zlib.output_compression	0
+  php_value	magic_quotes_gpc	0
+  php_value	zend.ze1_compatibility_mode	0
+</IfModule>
+
+<FilesMatch "(\.inc|\~)$">
   Order allow,deny
   Deny from all
 </FilesMatch>

--
Gitblit v1.9.1