From 52851464e0267795ffd688e3c769d9161011dba8 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Thu, 02 Oct 2008 13:48:29 -0400
Subject: [PATCH] - Fix race conditions when changing mailbox (set some env variables only when needed - no action or action==list)

---
 .htaccess |   20 +++++++++++++++-----
 1 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/.htaccess b/.htaccess
index 9474105..9e3667b 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1,10 +1,20 @@
 # AddDefaultCharset	UTF-8
-php_flag	display_errors	Off
-php_flag	log_errors	On
-php_value	error_log	logs/errors
-php_value	upload_max_filesize	2M
+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