groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [htmlxref.cnf] Please update link to the Groff manual


From: Thérèse Godefroy
Subject: Re: [htmlxref.cnf] Please update link to the Groff manual
Date: Sat, 14 Oct 2023 18:04:47 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1

Le 06/10/2023 à 23:14, G. Branden Robinson a écrit :
[...]
At 2023-10-06T10:31:55+0200, Thérèse Godefroy wrote:
There are other ways to redirect the html_node directory without any
help from sysadmins or webmasters.

* Create an .htaccess file, for example in the manual directory:

     RedirectMatch "html_node((/.*)?)$"
/software/groff/manual/groff.html.node$1

The URL is redirected to something like this:
https://www.gnu.org/software/groff/manual/groff.html.node/*.html

[...]

Thanks a lot for these pointers, Thérèse.  It has been probably 15 years
since I messed with an .htaccess file.  I started my career in web
development for e-commerce, was traumatized by an utterly horrible
language called PHP (3.x!), saw that the exciting new thing was
_another_ utterly horrible language called Javascript,[1] and ran as
fast as I could into the warm embrace of systems programming.

Regards,
Branden

[1] ECMA has made Javascript much less horrible.  But for me, the
     language will always carry the shame of its origins.

I added a RedirectMatch directive similar to the one above to the
site-wide .htaccess. Now the html_node URLs work.

Best,
Thérèse



reply via email to

[Prev in Thread] Current Thread [Next in Thread]