[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-devel
Subject:    Re: Language selection
From:       Jonas Hahnfeld <hahnjo () hahnjo ! de>
Date:       2020-08-21 6:46:44
Message-ID: 15c5e3eb8c59834f3e8a7c2715bc54a5958072c9.camel () hahnjo ! de
[Download RAW message or body]


Am Donnerstag, den 20.08.2020, 22:59 +0200 schrieb Han-Wen Nienhuys:
> On Thu, Aug 20, 2020 at 5:36 PM Jonas Hahnfeld <hahnjo@hahnjo.de> wrote:
> > I actually had some time now to look into this and I think we can get
> > without the symlinks by putting
> > 
> > DefaultLanguage en
> > 
> > into .htaccess; and additionally setup a rewrite to preserve the links:
> > 
> > RewriteCond %{REQUEST_FILENAME} !-f
> > RewriteRule ^(.+).en.html $1.html [L]
> > 
> > Han-Wen, could you give that a try on lilypond.org? If that works, I
> > can put up a proper MR (and maybe also revert the hack from !312).
> > 
> 
> It appears to work (hurray). There is a large .htaccess with all kinds of \
> historical cruft in /var/www/lilypond, but I think we could just add the above \
> .htaccess to the website.zip file, and do the same for the documentation tarball.

I guess you are referring to lilypond.org.htaccess? Actually, I'd
prefer to do it there (!340) because this is also where the content
negotiation gets setup. The other .htaccess files serve no purpose for
hosting on lilypond.org AFAICT (all handled by the global .htaccess).


["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic