From bfe9a840230534f92c5ffdb31c37df192eeba707 Mon Sep 17 00:00:00 2001 From: Carlos Rosquillas Date: Mon, 20 Jun 2011 09:35:34 -0700 Subject: [PATCH] Modified htaccess for consistent capitalization and comment style --- .htaccess | 92 +++++++++++++++++++++++++++---------------------------- 1 file changed, 46 insertions(+), 46 deletions(-) diff --git a/.htaccess b/.htaccess index 56614c2a..bff9a26c 100644 --- a/.htaccess +++ b/.htaccess @@ -58,9 +58,9 @@ # Webfont access # ---------------------------------------------------------------------- -# allow access from all domains for webfonts -# alternatively you could only whitelist -# your subdomains like "sub.domain.com" +# Allow access from all domains for webfonts. +# Alternatively you could only whitelist your +# subdomains like "sub.domain.com". @@ -74,11 +74,11 @@ # Proper MIME type for all files # ---------------------------------------------------------------------- -# audio +# Audio AddType audio/ogg oga ogg AddType audio/mp4 m4a -# video +# Video AddType video/ogg ogv AddType video/mp4 mp4 m4v AddType video/webm webm @@ -88,13 +88,13 @@ AddType video/webm webm AddType image/svg+xml svg svgz AddEncoding gzip svgz -# webfonts +# Webfonts AddType application/vnd.ms-fontobject eot AddType font/truetype ttf AddType font/opentype otf AddType application/x-font-woff woff -# assorted types +# Assorted types AddType image/x-icon ico AddType image/webp webp AddType text/cache-manifest appcache manifest @@ -113,11 +113,11 @@ AddType text/x-vcard vcf # e.g. Inside of script.combined.js you could have # # -# and they would be included into this single file +# and they would be included into this single file. -# this is not in use in the boilerplate as it stands. you may -# choose to name your files in this way for this advantage -# or concatenate and minify them manually. +# This is not in use in the boilerplate as it stands. You may +# choose to name your files in this way for this advantage or +# concatenate and minify them manually. # Disabled by default. # @@ -128,20 +128,20 @@ AddType text/x-vcard vcf # ---------------------------------------------------------------------- -# gzip compression +# Gzip compression # ---------------------------------------------------------------------- - -# force deflate for mangled headers developer.yahoo.com/blogs/ydn/posts/2010/12/pushing-beyond-gzipping/ +# Force deflate for mangled headers developer.yahoo.com/blogs/ydn/posts/2010/12/pushing-beyond-gzipping/ SetEnvIfNoCase ^(Accept-EncodXng|X-cept-Encoding|X{15}|~{15}|-{15})$ ^((gzip|deflate)\s,?\s(gzip|deflate)?|X{4,13}|~{4,13}|-{4,13})$ HAVE_Accept-Encoding RequestHeader append Accept-Encoding "gzip,deflate" env=HAVE_Accept-Encoding -# html, txt, css, js, json, xml, htc: + +# HTML, TXT, CSS, JavaScript, JSON, XML, HTC: FilterDeclare COMPRESS FilterProvider COMPRESS DEFLATE resp=Content-Type /text/(html|css|javascript|plain|x(ml|-component))/ @@ -157,7 +157,7 @@ AddType text/x-vcard vcf AddOutputFilterByType DEFLATE text/xml application/xml text/x-component -# webfonts and svg: +# Webfonts and SVG: SetOutputFilter DEFLATE @@ -169,14 +169,14 @@ AddType text/x-vcard vcf # Expires headers (for better cache control) # ---------------------------------------------------------------------- -# these are pretty far-future expires headers -# they assume you control versioning with cachebusting query params like +# These are pretty far-future expires headers. +# They assume you control versioning with cachebusting query params like #