X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/f351c6a2475050bcadfce28bdbe303eda9654059..7ea036c5c720451f3a59bf88021dc574aafb3242:/cookbooks/overpass/templates/default/apache.erb?ds=inline diff --git a/cookbooks/overpass/templates/default/apache.erb b/cookbooks/overpass/templates/default/apache.erb index fea5133fe..47e136381 100644 --- a/cookbooks/overpass/templates/default/apache.erb +++ b/cookbooks/overpass/templates/default/apache.erb @@ -30,7 +30,7 @@ DocumentRoot <%= @directory %> RewriteMap totp prg:/srv/query.openstreetmap.org/apache/totp-filter - RewriteCond "${totp:%{HTTP_COOKIE}}" "0" + RewriteCond ${totp:%{HTTP_COOKIE}} =0 RewriteRule ^.*$ - [F,L] <% if node[:overpass][:restricted_api] -%>