From 617b4f699f2e47991c50e05528b1f9ecbc3c3d9c Mon Sep 17 00:00:00 2001 From: svncommit <devs@roundcube.net> Date: Tue, 12 May 2009 09:26:07 -0400 Subject: [PATCH] Minimize chance of race condition in session handling (#1485659, #1484678) --- .htaccess | 13 +++++++++---- 1 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.htaccess b/.htaccess index bd11ae6..36d5748 100644 --- a/.htaccess +++ b/.htaccess @@ -1,6 +1,7 @@ # AddDefaultCharset UTF-8 AddType text/x-component .htc +<IfModule mod_php5.c> php_flag display_errors Off php_flag log_errors On php_value error_log logs/errors @@ -18,10 +19,14 @@ php_value session.gc_divisor 500 php_value session.gc_probability 1 -<FilesMatch "(\.inc|\~)$"> - Order allow,deny - Deny from all -</FilesMatch> +# http://bugs.php.net/bug.php?id=30766 +php_value mbstring.func_overload 0 +</IfModule> +<IfModule mod_rewrite.c> +RewriteEngine On +RewriteRule ^favicon.ico$ skins/default/images/favicon.ico +</IfModule> + Order deny,allow Allow from all -- Gitblit v1.9.1