aboutsummaryrefslogtreecommitdiff
path: root/htaccess_dist
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-04 18:31:03 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-04 18:31:03 +0000
commit6d2959136ca475719a1a26758a7b98b9cb7893bc (patch)
treee28dd9088fe7bdb3a817822de71dbb4ef3ba677c /htaccess_dist
parent7d87b7475322dbfb5993ceb95b94c015f85af3f5 (diff)
downloadelgg-6d2959136ca475719a1a26758a7b98b9cb7893bc.tar.gz
elgg-6d2959136ca475719a1a26758a7b98b9cb7893bc.tar.bz2
Cleaned up tabs vs spaces in htaccess_dist.
git-svn-id: http://code.elgg.org/elgg/trunk@7004 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'htaccess_dist')
-rw-r--r--htaccess_dist38
1 files changed, 19 insertions, 19 deletions
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/
<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/
#