Putting .htaccess back to right.
authorLeif Hanson <leif@gaslightmedia.com>
Fri, 7 Jun 2013 15:54:12 +0000 (15:54 +0000)
committerLeif Hanson <leif@gaslightmedia.com>
Fri, 7 Jun 2013 15:54:12 +0000 (15:54 +0000)
.htaccess

index acd7267..8fccc5c 100644 (file)
--- 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\.]+/