[replying to message sent to bug-groff]

Hi Thérèse,

At 2026-03-07T14:51:07+0100, Thérèse Godefroy via bug-groff wrote:
> There are talks of switching the www.gnu.org web server from Apache to
> Nginx. The problem is that Nginx doesn't support .htaccess. So we need
> to replace the redirections that are now in /groff/manual/.htaccess
> with symlinks. An obsolete redirection of groff.es.html to groff.html
> could also be removed.
> 
> If you agree but don't have time to apply the attached patch, I will
> gladly do it.

Here's the diff:

Index: .symlinks
===================================================================
RCS file: /webcvs/groff/groff/.symlinks,v
retrieving revision 1.1
diff -U 2 -r1.1 .symlinks
--- .symlinks   28 Feb 2001 00:18:55 -0000      1.1
+++ .symlinks   7 Mar 2026 13:37:36 -0000
@@ -1,2 +1,7 @@
 groff.html index.html
-groff.html groff.es.html
+
+# Adapted from .htaccess.
+manual/groff.html.node                         manual/html_node
+manual/groff.html.node/Leaders.html            manual/groff.html.node/WACKYJUNK
+manual/groff.html.node/ms-Legacy-Features.html 
manual/groff.html.node/ms-Strings-and-Special-Characters.html
+manual/groff.html.node/Preprocessor-Intro.html 
manual/groff.html.node/preconv.html

I think I can take care of this.  I also think the only entry that needs
to remain is this one:

+manual/groff.html.node                         manual/html_node

The "WACKYJUNK" thing was a test.  The two after it _should_ be
fixed or made redundant by introduction of `@anchor`s new to the groff
1.24.0 version of our Texinfo manual, which I uploaded last weekend.

Err, checking up on it, that's only true of the first.  The second one,
"preconv", doesn't seem to me to have a great place to redirect to.
(There's a "pindex" entry for "preconv" that goes to the "Groff Options"
node early in the manual.)  It might be okay just to let stale links to
"manual/groff.html.node/preconv.html" 404 now.

I'll take a crack at it.  Thanks for the heads-up!

Regards,
Branden

Attachment: signature.asc
Description: PGP signature

Reply via email to