From patchwork Fri Mar 1 13:37:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Wielaard X-Patchwork-Id: 1906709 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TmTgw17rJz1yX7 for ; Sat, 2 Mar 2024 00:38:36 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 22C5C3858C39 for ; Fri, 1 Mar 2024 13:38:34 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from gnu.wildebeest.org (gnu.wildebeest.org [45.83.234.184]) by sourceware.org (Postfix) with ESMTPS id F1A323858C39 for ; Fri, 1 Mar 2024 13:38:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org F1A323858C39 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=klomp.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=klomp.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org F1A323858C39 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=45.83.234.184 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1709300284; cv=none; b=QsBqpZSAhrOO6P7Wsmx39oDHRVSZKiBpHN+AYI7AbHnFsfPB4jz2A1UewEQqmJ4YtcN0mc41UmJSDdT7R5uCvdTAzeTrxzzHzKS6s3HfrV2o8gOcu866KdI7U6re6bYJK7KqD/IVVNrTl/pgDxwI91qR5HqwBVJokS0Bfkd/PeI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1709300284; c=relaxed/simple; bh=1TJKIhMnG65VGYU+TaxpmB5tNOPkqhmlTXBWwcP9mgo=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=jMhEJmXbqyvDv02Cf291CuHBhaFyena5sEYVNjv3/3I3m9YBlzyVIYVIIDF7lzmhdznAgo8UdwKN3XXYoEYJKSpDLfaH0o5cW54xpu3OqLQhrR35JZAahcio54f4fGBX08NlSotPJjpoJs11s/yAd9Q7wdivgfIK4BfP6kXszbg= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from r6.localdomain (82-217-174-174.cable.dynamic.v4.ziggo.nl [82.217.174.174]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gnu.wildebeest.org (Postfix) with ESMTPSA id 9B5CB307C2BC; Fri, 1 Mar 2024 14:38:01 +0100 (CET) Received: by r6.localdomain (Postfix, from userid 1000) id 61067340311; Fri, 1 Mar 2024 14:38:01 +0100 (CET) From: Mark Wielaard To: gcc-patches@gcc.gnu.org Cc: Gerald Pfeifer , Mark Wielaard Subject: [COMMITTED htdocs] robots.txt: Disallow various wiki actions Date: Fri, 1 Mar 2024 14:37:06 +0100 Message-ID: <20240301133724.835666-1-mark@klomp.org> X-Mailer: git-send-email 2.43.2 MIME-Version: 1.0 X-Spam-Status: No, score=-8.0 required=5.0 tests=BAYES_00, GIT_PATCH_0, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, RCVD_IN_BARRACUDACENTRAL, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org It is fine for robots to crawl the wiki pages, but they should perform actions, generate huge diffs, search/highlight pages or generate calendars. --- htdocs/robots.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/htdocs/robots.txt b/htdocs/robots.txt index 057c5899..36be4d13 100644 --- a/htdocs/robots.txt +++ b/htdocs/robots.txt @@ -14,4 +14,8 @@ Disallow: /bugzilla/show_bug.cgi*ctype=xml* Disallow: /bugzilla/attachment.cgi Disallow: /bugzilla/showdependencygraph.cgi Disallow: /bugzilla/showdependencytree.cgi +Disallow: /wiki/*?action=* +Disallow: /wiki/*?diffs=* +Disallow: /wiki/*?highlight=* +Disallow: /wiki/*?calparms=* Crawl-Delay: 60