Send node/way/relation history calls to cgimap
authorTom Hughes <tom@compton.nu>
Tue, 11 Apr 2017 20:02:20 +0000 (21:02 +0100)
committerTom Hughes <tom@compton.nu>
Tue, 11 Apr 2017 20:02:20 +0000 (21:02 +0100)
cookbooks/web/templates/default/apache.backend.erb

index 6d75afb070c5615abd922e9a53dbdb7ef7e8341a..40f21b6288c20851c5b6ba30e7d4a9d932cbef2c 100644 (file)
@@ -70,6 +70,7 @@
   RewriteCond %{REQUEST_METHOD} ^(HEAD|GET)$
   RewriteRule ^/api/0\.6/changeset/[0-9]+/download$ fcgi://127.0.0.1:8000$0 [P]
   RewriteRule ^/api/0\.6/(node|way|relation|changeset)/[0-9]+$ fcgi://127.0.0.1:8000$0 [P]
+  RewriteRule ^/api/0\.6/(node|way|relation)/[0-9]+/history$ fcgi://127.0.0.1:8000$0 [P]
   RewriteRule ^/api/0\.6/(way|relation)/[0-9]+/full$ fcgi://127.0.0.1:8000$0 [P]
   RewriteRule ^/api/0\.6/(nodes|ways|relations)$ fcgi://127.0.0.1:8000$0 [P]
 </VirtualHost>