projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93088ec
)
Remove redirect to http from /edit
author
Tom Hughes
<tom@compton.nu>
Wed, 26 Feb 2014 08:34:13 +0000
(08:34 +0000)
committer
Tom Hughes
<tom@compton.nu>
Wed, 26 Feb 2014 09:19:42 +0000
(09:19 +0000)
cookbooks/web/templates/default/apache.frontend.erb
patch
|
blob
|
history
diff --git
a/cookbooks/web/templates/default/apache.frontend.erb
b/cookbooks/web/templates/default/apache.frontend.erb
index 3039a96c8479fc0c1a50d2f2be9cf5d24c900bdb..7f34564c02096c35bea9eb14e7b6c42b79e9c42d 100644
(file)
--- a/
cookbooks/web/templates/default/apache.frontend.erb
+++ b/
cookbooks/web/templates/default/apache.frontend.erb
@@
-229,12
+229,6
@@
RewriteRule ^(.*)$ http://www.openstreetmap.org$1 [L,NE,R=permanent]
<% elsif port == 443 -%>
- #
- # Redirect requests which don't work over https to http
- #
- RewriteCond %{REQUEST_URI} ^/edit$
- RewriteRule ^(.*)$ http://www.openstreetmap.org$1 [L,NE,R=permanent]
-
#
# Redirect api requests made to www.osm.org to api.osm.org
#