debiman icon indicating copy to clipboard operation
debiman copied to clipboard

Bad lolcat → LOLCAT jump

Open jwilk opened this issue 1 year ago • 2 comments

(This is simiar to #161.)

https://manpages.debian.org/jump?q=lolcat redirects to https://manpages.debian.org/bookworm/filters/LOLCAT.6.en.html instead of https://manpages.debian.org/bookworm/lolcat/lolcat.6.en.html.

jwilk avatar Jan 02 '24 20:01 jwilk

@stapelberg In response to https://github.com/Debian/debiman/issues/161#issuecomment-1668506822

Maybe you could generate a rewritemap for all manpages that are in fact all uppercase and add that to apaches rewrite rules?

I only see a simple example for apache w/o any rewritemaps at all. Maybe you could show us a bit more of the actual running config and we could nip it in the behind :P.

crpb avatar Sep 06 '24 12:09 crpb

I only see a simple example for apache w/o any rewritemaps at all. Maybe you could show us a bit more of the actual running config and we could nip it in the behind :P.

See https://salsa.debian.org/manpages-team/debian-assets/-/tree/master/scripts?ref_type=heads for the scripts running on manziarly.debian.org, which generate the apache rewrite map and static HTML files.

I don’t have a link handy to where the actual Apache config lives. That’s maintained by DSA (Debian System Administration).

stapelberg avatar Sep 07 '24 07:09 stapelberg