bug-lilypond
[Top][All Lists]
Advanced

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

Re: Issue 3191 - Fix relative links


From: Phil Holmes
Subject: Re: Issue 3191 - Fix relative links
Date: Sun, 24 Feb 2013 11:28:24 -0000

"Felix Janda" <address@hidden> wrote in message news:address@hidden
On 02/22/13 at 08:48pm, Felix Janda wrote:
To solve this issue I think the following steps suffice:

1. Replace links like http://lilypond.org/website/manuals.html by
http://lilypond.org/manuals.html. See the patch below. Then nobody should
need to know that http://lilypond/website exists (including search
engines).

2. Modify the root .htaccess to 301 redirect all traffic from
http://lilypond.org/website to the corresponding url without /website.

3. Make the depth variable in scripts/build/create-weblinks-itexi.py
dependent on whether the Docs are being built for local enjoyment or for
the server. That's probably not trivial with the current build system.

Attached are patches against the current git master, one for each step.

I've tested the Apache configuration locally.

I'd be happy if someone could test that it now works correctly for both
the local documentation and lilypond.org since I haven't been able to
successfully "make web", yet.

Felix

BTW some things in the .htaccess file are unecessary or misleading since
%{ENV:WEB} is unconditionally set to /website.


The only people likely to be able to check these are Graham and myself. I'm loathe to delve too deeply, since I don't understand the Apache stuff, nor why the website stuff was put there in the first place. Graham?

--
Phil Holmes
Bug Squad




reply via email to

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