projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e5da4c
)
Block "OSMApp Tuner" as it is scraping changesets
author
Tom Hughes
<tom@compton.nu>
Fri, 14 Aug 2015 18:14:05 +0000
(19:14 +0100)
committer
Tom Hughes
<tom@compton.nu>
Fri, 14 Aug 2015 18:15:36 +0000
(19:15 +0100)
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 0989ea791c71cb147d51e59e9497288ba7f26c4d..5c149872e9f63c8097fc6d1ce97cba59184c6a33 100644
(file)
--- a/
cookbooks/web/templates/default/apache.frontend.erb
+++ b/
cookbooks/web/templates/default/apache.frontend.erb
@@
-47,6
+47,12
@@
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
#