From fe856132e6b64a456646f8f0157bd10352bb80c7 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Sat, 26 Sep 2020 20:29:24 +0100 Subject: [PATCH] Ignore Vicon Valerus online status pings --- cookbooks/web/templates/default/apache.frontend.erb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cookbooks/web/templates/default/apache.frontend.erb b/cookbooks/web/templates/default/apache.frontend.erb index ae34b9456..9fbb7919d 100644 --- a/cookbooks/web/templates/default/apache.frontend.erb +++ b/cookbooks/web/templates/default/apache.frontend.erb @@ -73,6 +73,13 @@ # RewriteRule ^/api/0.6/changeset/6823497/download$ - [F,L] + # + # Ignore Vicon Valerus "online" status pings + # https://gist.github.com/Firefishy/86ed5b86991b225179b54bbafbcd769e + # + RewriteCond "%{QUERY_STRING}" "^q=abcde&t=20" + RewriteRule "^/api/0\.6/notes/search$" - [R=204,L] + # # Force special MIME type for crossdomain.xml files # -- 2.39.5