Fix redirect
authorTom Hughes <tom@compton.nu>
Tue, 11 Feb 2014 11:28:33 +0000 (11:28 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 11 Feb 2014 11:28:33 +0000 (11:28 +0000)
cookbooks/web/templates/default/apache.frontend.erb

index e603873..206d54c 100644 (file)
   #
   # Redirect requests which don't work over https to http
   #
-  RewriteCond %{REQUEST_URI} !^/edit$
+  RewriteCond %{REQUEST_URI} ^/edit$
   RewriteRule ^(.*)$ http://www.openstreetmap.org$1 [L,NE,R=permanent]
 
   #