From d51c93b43e4b24b56e5c225154be4a60fcb418c6 Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Mon, 01 Jun 2009 03:21:14 -0400 Subject: [PATCH] - get rid of some hardcoded action names and move decission about output compression to the user --- .htaccess | 20 ++++++++++++++++++-- 1 files changed, 18 insertions(+), 2 deletions(-) diff --git a/.htaccess b/.htaccess index 05a2ed7..2d73469 100644 --- a/.htaccess +++ b/.htaccess @@ -10,7 +10,7 @@ php_value post_max_size 6M php_value memory_limit 64M -php_value zlib.output_compression 0 +php_value zlib.output_compression 1 php_value magic_quotes_gpc 0 php_value zend.ze1_compatibility_mode 0 php_value suhosin.session.encrypt Off @@ -28,6 +28,22 @@ RewriteEngine On RewriteRule ^favicon.ico$ skins/default/images/favicon.ico </IfModule> - + +<IfModule mod_deflate.c> +SetOutputFilter DEFLATE +</IfModule> + +<IfModule mod_headers.c> +# replace 'append' with 'merge' for Apache version 2.2.9 and later +Header append Cache-Control public env=!NO_CACHE +</IfModule> + +<IfModule mod_expires.c> +ExpiresActive On +ExpiresDefault "access plus 1 month" +</IfModule> + +FileETag MTime + Order deny,allow Allow from all -- Gitblit v1.9.1