]> git.openstreetmap.org Git - chef.git/commitdiff
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 e6038730b73f399e84d946cd13ac25f71c81064a..206d54c07f63adf14968e5154c6a2d51f8916b73 100644 (file)
   #
   # Redirect requests which don't work over https to http
   #
   #
   # 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]
 
   #
   RewriteRule ^(.*)$ http://www.openstreetmap.org$1 [L,NE,R=permanent]
 
   #