[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: |
Sun, 5 Jul 2020 11:08:08 +0200 |
Sorry, I forgot to address the patch tracker. I wrote some hours ago:
On Thu, Apr 09, 2020 at 07:31:04PM +0200, pelzflorian (Florian Pelz) wrote:
> On Thu, Apr 09, 2020 at 05:27:05PM +0200, Ludovic Courtès wrote:
> > Hi Florian,
> >
> > "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de> skribis:
> >
> > > + (redirect "/news/porting-guix-and-guixsd.html"
> > > "/$lang/blog/2015/porting-guix-and-guixsd")
> >
> > Does that mean that /blog/2015/porting-guix-and-guixsd (without /LANG)
> > will _not_ redirect to /LANG/blog/2015/porting-guix-and-guixsd?
> >
> > It’s important that all the current URL, without /LANG, remain valid.
>
> With the new test VM, not all is working.
>
> /news/porting-guix-and-guixsd.html fails (code 404).
>
> /blog/2015/porting-guix-and-guixsd fails (code 404).
>
> /blog/2015/porting-guix-and-guixsd fails (404).
>
> But /blog/2015/porting-guix-and-guixsd/ works fine.
>
> Well this is difficult to figure out.
>
> Regards,
> Florian
An update:
The attached patch for berlin serves more but not all URLs
properly when testing on a VM.
I found one problem; the nginx locations for redirecting old URLs can
be given a higher priority via specifying = before the location path.
I am sorry for neglecting this for so long until
Christopher Baines offered to help a few days ago. Now I too started
investigating myself again.
I cleared the browser cache, restarted nscd and tested these URLs
(with a changed /etc/hosts file pointing guix.gnu.org to the VM):
Still failing:
http://guix.gnu.org/graphics
http://guix.gnu.org/blog/2013/back-from-the-european-lisp-symposium
worked before wip-i18n but stopped working. Hrm.
These seem to fail but I could not properly build the manual yet:
http://guix.gnu.org/manual/en/html_node/Miscellaneous-Services.html
http://guix.gnu.org/manual/html_node/Power-management-Services.html
The rest looks good:
http://guix.gnu.org/news/timely-delivery-of-security-updates.html
http://guix.gnu.org/security/
http://guix.gnu.org/blog/2016/back-from-the-gnu-hackers-meeting-2016/
http://guix.gnu.org/en/blog/2017/back-from-fosdem-2017
http://guix.gnu.org/de/blog/2016/back-from-gbcuw-2016/
works.
http://guix.gnu.org/news/coming-events
http://guix.gnu.org/news
never worked, so it’s OK that these URLs don’t work.
http://guix.gnu.org/news/
This redirect now works but did not work before wip-i18n (??).
I will continue to investigate.
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) <=
- 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), 2020/07/10
- 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