From 6d2959136ca475719a1a26758a7b98b9cb7893bc Mon Sep 17 00:00:00 2001 From: brettp Date: Mon, 4 Oct 2010 18:31:03 +0000 Subject: Cleaned up tabs vs spaces in htaccess_dist. git-svn-id: http://code.elgg.org/elgg/trunk@7004 36083f99-b078-4883-b0ff-0f9b5a30f544 --- htaccess_dist | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'htaccess_dist') diff --git a/htaccess_dist b/htaccess_dist index 48129d0f9..3d1ef070b 100644 --- a/htaccess_dist +++ b/htaccess_dist @@ -4,8 +4,8 @@ # Link http://elgg.org/ - order allow,deny - deny from all + order allow,deny + deny from all # Don't listing directory @@ -31,7 +31,7 @@ DirectoryIndex index.php php_value register_globals 0 # max post size to 8Mb php_value post_max_size 8388608 - # upload size limit to 5Mb + # upload size limit to 5Mb php_value upload_max_filesize 5242880 # hide errors, enable only if debug enabled php_value display_errors 0 @@ -40,17 +40,17 @@ DirectoryIndex index.php # Turn on mod_gzip if available mod_gzip_on yes - mod_gzip_dechunk yes - mod_gzip_keep_workfiles No - mod_gzip_minimum_file_size 1000 - mod_gzip_maximum_file_size 1000000 - mod_gzip_maximum_inmem_size 1000000 - mod_gzip_item_include mime ^text/.* - mod_gzip_item_include mime ^application/javascript$ - mod_gzip_item_include mime ^application/x-javascript$ - # Exclude old browsers and images since IE has trouble with this - mod_gzip_item_exclude reqheader "User-Agent: .*Mozilla/4\..*\[" - mod_gzip_item_exclude mime ^image/.* + mod_gzip_dechunk yes + mod_gzip_keep_workfiles No + mod_gzip_minimum_file_size 1000 + mod_gzip_maximum_file_size 1000000 + mod_gzip_maximum_inmem_size 1000000 + mod_gzip_item_include mime ^text/.* + mod_gzip_item_include mime ^application/javascript$ + mod_gzip_item_include mime ^application/x-javascript$ + # Exclude old browsers and images since IE has trouble with this + mod_gzip_item_exclude reqheader "User-Agent: .*Mozilla/4\..*\[" + mod_gzip_item_exclude mime ^image/.* ## Apache2 deflate support if available @@ -63,16 +63,16 @@ DirectoryIndex index.php BrowserMatch ^Mozilla/4\.[0678] no-gzip BrowserMatch \bMSIE !no-gzip - + Header append Vary User-Agent env=!dont-vary - - + + # The following is to disable compression for actions. The reason being is that these # may offer direct downloads which (since the initial request comes in as text/html and headers # get changed in the script) get double compressed and become unusable when downloaded by IE. SetEnvIfNoCase Request_URI action\/* no-gzip dont-vary SetEnvIfNoCase Request_URI actions\/* no-gzip dont-vary - + # Configure ETags @@ -86,7 +86,7 @@ RewriteEngine on # If Elgg is in a subdirectory on your site, you might need to add a RewriteBase line # containing the path from your site root to elgg's root. e.g. If your site is -# http://example.com/ and Elgg is in http://example.com/sites/elgg/, you might need +# http://example.com/ and Elgg is in http://example.com/sites/elgg/, you might need # #RewriteBase /sites/elgg/ # -- cgit v1.2.3