From: Leif Hanson Date: Fri, 14 Jun 2013 13:13:09 +0000 (+0000) Subject: Reverting .htaccess X-Git-Tag: v1.0~114 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=0e42fb58303536b95bdd34fee2667e53b0bdca59;p=web%2FMichiganTrailMaps.git Reverting .htaccess --- diff --git a/.htaccess b/.htaccess index acd7267..8fccc5c 100644 --- a/.htaccess +++ b/.htaccess @@ -14,13 +14,13 @@ ErrorDocument 404 /404.html RewriteEngine On AddDefaultCharset utf-8 -RewriteBase /~leif/www.michigantrailmaps.com/ +RewriteBase /www.michigantrailmaps.com/ # Redirect non-www to www -#RewriteCond %{ENV:GLM_HOST_ID} PRODUCTION -#RewriteCond %{HTTP_HOST} !^www\. [NC] -#RewriteCond %{HTTP_HOST} !^demo\. [NC] -#RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L] +RewriteCond %{ENV:GLM_HOST_ID} PRODUCTION +RewriteCond %{HTTP_HOST} !^www\. [NC] +RewriteCond %{HTTP_HOST} !^demo\. [NC] +RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L] # CacheBusting RewriteCond %{REQUEST_URI} v/[0-9\.]+/