user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* Re: [PATCH] public-inbox.cgi(1): Mention AllowEncodedSlashes for Apache setups
  2023-02-17 11:08  7% ` [PATCH] public-inbox.cgi(1): Mention AllowEncodedSlashes for Apache setups Uwe Kleine-König
@ 2023-02-17 13:15  7%   ` Eric Wong
  0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2023-02-17 13:15 UTC (permalink / raw)
  To: Uwe Kleine-König; +Cc: meta

Thanks, pushed as 849538969a6c0ef0319291f31dc69acdec4481db

^ permalink raw reply	[relevance 7%]

* [PATCH] public-inbox.cgi(1): Mention AllowEncodedSlashes for Apache setups
  @ 2023-02-17 11:08  7% ` Uwe Kleine-König
  2023-02-17 13:15  7%   ` Eric Wong
  0 siblings, 1 reply; 2+ results
From: Uwe Kleine-König @ 2023-02-17 11:08 UTC (permalink / raw)
  To: meta

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<public-inbox-httpd(1)> 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<mailto:meta@public-inbox.org>
-- 
2.39.1


^ permalink raw reply related	[relevance 7%]

Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2023-02-17 10:28     Bug related to (maybe?) / in Message-Id Eric Wong
2023-02-17 11:08  7% ` [PATCH] public-inbox.cgi(1): Mention AllowEncodedSlashes for Apache setups Uwe Kleine-König
2023-02-17 13:15  7%   ` Eric Wong

Code repositories for project(s) associated with this public inbox

	https://80x24.org/public-inbox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).