diff --git a/public_html/.htaccess b/public_html/.htaccess new file mode 100644 index 0000000..e543a81 --- /dev/null +++ b/public_html/.htaccess @@ -0,0 +1,18 @@ +RewriteEngine On +RewriteCond %{HTTP_HOST} ^whoisandrew.com +RewriteRule (.*) http://www.whoisandrew.com/$1 [R=301,L] + + + Header set Cache-Control "max-age=31556926, public" + + + + mod_gzip_on Yes + mod_gzip_dechunk Yes + mod_gzip_item_include file \.(html?|xml|txt|css|js)$ + mod_gzip_item_include handler ^cgi-script$ + mod_gzip_item_include mime ^text/.* + mod_gzip_item_include mime ^application/x-javascript.* + mod_gzip_item_exclude mime ^image/.* + mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.* +