From 237d93489bca6fbae88dd2a9f63fedca0aba0a36 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Wed, 10 Apr 2024 18:04:27 +0100 Subject: [PATCH] osqa: remove search, replaced with duckduckgo iframe --- cookbooks/osqa/templates/default/apache.erb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cookbooks/osqa/templates/default/apache.erb b/cookbooks/osqa/templates/default/apache.erb index 74a81cf2a..1ef85c040 100644 --- a/cookbooks/osqa/templates/default/apache.erb +++ b/cookbooks/osqa/templates/default/apache.erb @@ -67,6 +67,10 @@ WSGIDaemonProcess <%= @name %> user=<%= @user %> group=<%= @group %> processes=4 Require all denied ErrorDocument 403 "help.openstreetmap.org is closed. Use community.openstreetmap.org instead." + + Require all denied + ErrorDocument 403 "help.openstreetmap.org is closed. Use community.openstreetmap.org instead." + RewriteEngine on RewriteCond %{REQUEST_METHOD} POST RewriteRule ^/questions - [F,NC] -- 2.39.5