From a3b85d7b8560cdc1057fcaffa3acbd247b4b5b7a Mon Sep 17 00:00:00 2001 From: Thomas B. <thomas@roundcube.net> Date: Mon, 07 Oct 2013 13:19:03 -0400 Subject: [PATCH] Merge pull request #133 from cwickert/release-0.9-canned-responses --- .htaccess | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.htaccess b/.htaccess index 2bc9f95..345d26d 100644 --- a/.htaccess +++ b/.htaccess @@ -17,7 +17,7 @@ php_flag suhosin.session.encrypt Off #php_value session.cookie_path / -php_value session.auto_start 0 +php_flag session.auto_start Off php_value session.gc_maxlifetime 21600 php_value session.gc_divisor 500 php_value session.gc_probability 1 @@ -28,10 +28,11 @@ <IfModule mod_rewrite.c> RewriteEngine On -RewriteRule ^favicon.ico$ skins/default/images/favicon.ico +RewriteRule ^favicon\.ico$ skins/larry/images/favicon.ico # security rules -RewriteRule .svn/ - [F] -RewriteRule ^README|INSTALL|LICENSE|SQL|bin|CHANGELOG$ - [F] +RewriteRule \.git - [F] +RewriteRule ^/?(README(.md)?|INSTALL|LICENSE|CHANGELOG|UPGRADING)$ - [F] +RewriteRule ^/?(SQL|bin) - [F] </IfModule> <IfModule mod_deflate.c> @@ -49,4 +50,7 @@ </IfModule> FileETag MTime Size + +<IfModule mod_autoindex.c> Options -Indexes +</ifModule> -- Gitblit v1.9.1