From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-3.3 required=3.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id CD03D1F626 for ; Fri, 17 Feb 2023 11:09:01 +0000 (UTC) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pSybs-0003YU-9q; Fri, 17 Feb 2023 12:09:00 +0100 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1pSybp-005ZWG-KA; Fri, 17 Feb 2023 12:08:58 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1pSybq-004J8R-2R; Fri, 17 Feb 2023 12:08:58 +0100 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= To: meta@public-inbox.org Subject: [PATCH] public-inbox.cgi(1): Mention AllowEncodedSlashes for Apache setups Date: Fri, 17 Feb 2023 12:08:50 +0100 Message-Id: <20230217110850.1439844-1-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230217102828.M907338@dcvr> References: <20230217102828.M907338@dcvr> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=992; i=u.kleine-koenig@pengutronix.de; h=from:subject; bh=e6eSQfKWOL0P7YR/FBY7fyJrDCB5I1mQ/Bg7ffJC7Ck=; b=owEBbQGS/pANAwAKAcH8FHityuwJAcsmYgBj72A+vDV0bqVi1x+98rEx90rzJF0dFRgX3h5a8 vQzjxKqqvaJATMEAAEKAB0WIQR+cioWkBis/z50pAvB/BR4rcrsCQUCY+9gPgAKCRDB/BR4rcrs CcxgB/kB3f9hDuSMZ5tAJui0dIzmE4nglXzIIVjHdZ/dK5y5Y3PFOrMnj9OnN85ESHCl0ravEoY //c1AvjZEDgC20Aq6jQ3ngsjGTb+uUGtJbaeqt4m4fHv2P9iAQJeGhD+QsJcf/HqIczVzN72O58 cwjEGMG9V+FFBBMUuRDTT+eNestMuckm97p2XSqdnjtJGNbcpmbMRYGrLtLSFi5228wihnCE87S mqgMdRiLjqIddFkwtfw2qR54jsk2jnG4253l2nXT3EjzoZ7P3XHMF9N+wQC11xe0WeAl+5KTNCT 2u9BkhBJ8WjUIltsXFGtZxWfnJ0TuLmuZQOEwMvOSfnKG9KA X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: meta@public-inbox.org List-Id: When AllowEncodedSlashes is Off (the default setting), URLs containing %2f are replied with a 404 error without calling the CGI. To (maybe) prevent others debugging this issue add a hint with the solution. --- Documentation/public-inbox.cgi.pod | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/public-inbox.cgi.pod b/Documentation/public-inbox.cgi.pod index 71f8a6f5f696..369813d09b91 100644 --- a/Documentation/public-inbox.cgi.pod +++ b/Documentation/public-inbox.cgi.pod @@ -16,6 +16,11 @@ CGI with Perl is slow due to code loading overhead and web servers lack the scheduling fairness of L for handling git clones and streaming large mbox downloads. +=head1 COMPATIBILITY NOTE + +When using the CGI with Apache, make sure to set AllowEncodedSlashes to On, as +public-inbox makes heavy use of encoded slashes. + =head1 CONTACT Feedback welcome via plain-text mail to L -- 2.39.1