]> git.openstreetmap.org Git - chef.git/commitdiff
osqa: disable contact form
authorGrant Slater <github@firefishy.com>
Wed, 10 Apr 2024 16:07:45 +0000 (17:07 +0100)
committerGrant Slater <github@firefishy.com>
Wed, 10 Apr 2024 16:07:45 +0000 (17:07 +0100)
cookbooks/osqa/templates/default/apache.erb

index 375e09c3df8ce4699f9befc078f444ea7b195a26..74a81cf2a9897e298565008b50847aec5a41d7ad 100644 (file)
@@ -63,6 +63,10 @@ WSGIDaemonProcess <%= @name %> user=<%= @user %> group=<%= @group %> processes=4
     Require all denied
     ErrorDocument 403 "help.openstreetmap.org is closed. Use community.openstreetmap.org instead."
   </Location>
+  <Location /contact/>
+    Require all denied
+    ErrorDocument 403 "help.openstreetmap.org is closed. Use community.openstreetmap.org instead."
+  </Location>
   RewriteEngine on
   RewriteCond %{REQUEST_METHOD} POST
   RewriteRule ^/questions - [F,NC]