]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/overpass/templates/default/apache.erb
Run the OTRS daemon as a systemd service
[chef.git] / cookbooks / overpass / templates / default / apache.erb
index fea5133feeb15448ed2450cc7aa56f0d00e772c5..47e1363813592d994d51f03fd2bf48a30e33ae65 100644 (file)
@@ -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] -%>