]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Cleaned up tabs vs spaces in htaccess_dist.
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Mon, 4 Oct 2010 18:31:03 +0000 (18:31 +0000)
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Mon, 4 Oct 2010 18:31:03 +0000 (18:31 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@7004 36083f99-b078-4883-b0ff-0f9b5a30f544

htaccess_dist

index 48129d0f925ec602a3f39842dfc9ed2e5100e628..3d1ef070bbb0478bf999da7a01c7f5055f75433c 100644 (file)
@@ -4,8 +4,8 @@
 # Link http://elgg.org/
 
 <Files "htaccess_dist">
-    order allow,deny
-    deny from all
+       order allow,deny
+       deny from all
 </Files>
 
 # 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
 <IfModule mod_gzip.c>
        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/.*
 </IfModule>
 
 ## Apache2 deflate support if available
@@ -63,16 +63,16 @@ DirectoryIndex index.php
        BrowserMatch ^Mozilla/4\.[0678] no-gzip
        BrowserMatch \bMSIE !no-gzip
 
-<IfModule mod_headers.c>       
+<IfModule mod_headers.c>
        Header append Vary User-Agent env=!dont-vary
-</IfModule>    
-       
+</IfModule>
+
        # 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
-       
+
 </IfModule>
 
 # 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/
 #