]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/web/templates/default/apache.frontend.erb
Get rid of the last traces of old style apache auth directives
[chef.git] / cookbooks / web / templates / default / apache.frontend.erb
index 0989ea791c71cb147d51e59e9497288ba7f26c4d..b4714c1372abfeabbd36a84bcfc2d2ae39466e50 100644 (file)
   RewriteCond %{HTTP_USER_AGENT} tilesAtHome
   RewriteRule . - [F,L]
 
+  #
+  # Block changeset scraper
+  #
+  RewriteCond %{HTTP_USER_AGENT} "OSMApp Tuner"
+  RewriteRule . - [F,L]  
+
   #
   # Block requests for the old 404 map tile
   #
   # Allow all proxy requests
   #
   <Proxy *>
-    Allow from all
+    Require all granted
   </Proxy>
 
   #