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