Use cgimap for /relation/N/full
authorTom Hughes <tom@compton.nu>
Wed, 9 Oct 2013 21:39:49 +0000 (22:39 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 9 Oct 2013 21:39:49 +0000 (22:39 +0100)
cookbooks/web/templates/default/apache.backend.erb

index 2bdd3b7..be4bfde 100644 (file)
@@ -39,6 +39,6 @@
   # Pass supported calls to cgimap
   #
   RewriteRule ^/api/0\.6/map$ - [H=fcgi:127.0.0.1:8000]
-  RewriteRule ^/api/0\.6/(way)/[0-9]+/full$ - [H=fcgi:127.0.0.1:8000]
+  RewriteRule ^/api/0\.6/(way|relation)/[0-9]+/full$ - [H=fcgi:127.0.0.1:8000]
   RewriteRule ^/api/0\.6/(nodes|ways|relations)$ - [H=fcgi:127.0.0.1:8000]
 </VirtualHost>