[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#26302: Deploying the i18n’d web site
From: |
pelzflorian (Florian Pelz) |
Subject: |
bug#26302: Deploying the i18n’d web site |
Date: |
Fri, 10 Jul 2020 19:28:08 +0200 |
Find attached a desperate patch for guix-maintenance that works around
all listed issues, perhaps not in a nice way.
On Thu, Jul 09, 2020 at 04:48:43PM +0200, pelzflorian (Florian Pelz) wrote:
> With what I currently have
> redirection explodes
>
> http://guix.gnu.org/manual/html_node/en/en/en/en/en/en/en/en/en/en/en/en/en/en/en/en/en/en/en/en/html_node
>
> !! I think this happened too back then. I have not investigated this yet.
>
This is fixed by redirecting not to relative paths,
(redirect "/manual/html_node/Substitutes.html"
"../en/html_node/Substitutes.html")
but to absolute paths
(redirect "/manual/html_node/Substitutes.html"
"/manual/en/html_node/Substitutes.html")
I think this issue existed before any of my i18n changes.
> Previously when visiting
>
> http://guix.gnu.org/graphics
>
> then nginx too looked up the index file
>
> http://guix.gnu.org/graphics/index.html
>
> This broke. “rewrite (.*)/$ $1/index.html;” had not fixed it.
>
> !! I do not know what to do about it.
The patch introduces a long list of explicit redirects for all URLs
not ending in a slash (except for <http://guix.gnu.org/packages/…>
URLs, they are too many). This is an unmaintainable solution if we
want to keep using URLs not ending in a slash. If we don’t want that,
then if you agree all is ready, please deploy the i18n’d site by
applying this patch to guix-maintenance and shortly thereafter
merge/rebase the guix-artworks wip-i18n branch (shortly because
redirects won’t work in the meantime).
Regards,
Florian
0001-berlin-Redirect-to-localized-website-by-browser-lang.patch
Description: Text document
- bug#26302: Deploying the i18n’d web site, Christopher Baines, 2020/07/01
- bug#26302: Deploying the i18n’d web site, pelzflorian (Florian Pelz), 2020/07/05
- bug#26302: Deploying the i18n’d web site, Ludovic Courtès, 2020/07/09
- bug#26302: Deploying the i18n’d web site, pelzflorian (Florian Pelz), 2020/07/09
- bug#26302: Deploying the i18n’d web site,
pelzflorian (Florian Pelz) <=
- bug#26302: Deploying the i18n’d web site, pelzflorian (Florian Pelz), 2020/07/12
- bug#26302: Multilingual web site is on-line!, Ludovic Courtès, 2020/07/26
- bug#26302: Multilingual web site is on-line!, pelzflorian (Florian Pelz), 2020/07/26
- bug#26302: Multilingual web site is on-line!, pelzflorian (Florian Pelz), 2020/07/27
- bug#26302: Multilingual web site is on-line!, Ludovic Courtès, 2020/07/28
- bug#26302: Multilingual web site is on-line!, Julien Lepiller, 2020/07/28
- bug#26302: Multilingual web site is on-line!, pelzflorian (Florian Pelz), 2020/07/29
- bug#26302: Multilingual web site is on-line!, pelzflorian (Florian Pelz), 2020/07/29
- bug#26302: Multilingual web site is on-line!, Ludovic Courtès, 2020/07/31
- bug#26302: Multilingual web site is on-line!, Dmitry Alexandrov, 2020/07/26