[Top][All Lists]

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

Re: Language selection

From: Jonas Hahnfeld
Subject: Re: Language selection
Date: Fri, 21 Aug 2020 08:46:44 +0200
User-agent: Evolution 3.36.5

Am Donnerstag, den 20.08.2020, 22:59 +0200 schrieb Han-Wen Nienhuys:
> On Thu, Aug 20, 2020 at 5:36 PM Jonas Hahnfeld <> 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 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 file, and do the same for the 
> documentation tarball.

I guess you are referring to 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 AFAICT (all handled by the global .htaccess).

Attachment: signature.asc
Description: This is a digitally signed message part

reply via email to

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