From: Steve Sutton Date: Mon, 30 Jun 2014 15:06:11 +0000 (-0400) Subject: ready to goto prod server X-Git-Tag: v1.0^2~1 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=7adf6596a330bc5bba781de6ce65bbc90eb5dfd5;p=web%2FCedarvilleMarine.git ready to goto prod server --- diff --git a/.htaccess b/.htaccess index afddc3c..de4f4d4 100644 --- a/.htaccess +++ b/.htaccess @@ -17,10 +17,10 @@ AddDefaultCharset utf-8 #RewriteBase /www.cedarvillemarine.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\.]+/