|
From: | Auto mailings of changes to Lily Issues |
Subject: | [Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] #4829 add all languages for content negotiation and explain how to test .htaccess locally |
Date: | Thu, 28 Apr 2016 15:13:25 +0000 |
issue 4829: add all languages for content negotiation in .htaccess
Improve also the instructions in the CG manual on debugging the
website locally.
http://codereview.appspot.com/296070043
[issues:#4829] add all languages for content negotiation and explain how to test .htaccess locally
Status: Started
Created: Wed Apr 20, 2016 04:16 PM UTC by Federico Bruni
Last Updated: Thu Apr 28, 2016 03:13 PM UTC
Owner: Federico Bruni
I'll start this as soon as [#2212] is fixed.
Report: http://lists.gnu.org/archive/html/lilypond-devel/2016-04/msg00102.html
1) .htaccess
I'm testing the lilypond website on the web root of my local Apache installation. I've noticed that on the same browser I get different languages on my localhost:
http://lilypond.org/manuals (italian, correct) - all the other URLs serve correctly italian pages
http://localhost/manuals (nederland, incorrect) - some other pages are served in english (e.g. download/ and introduction/), but others are served again in nederland (e.g. features/)
Adding this line to .htaccess fixes the problem:
AddLanguage it .it
In our .htaccess we have only this line:
# fix broken auto language selection for Hungarian AddLanguage hu .hu
This makes me guess that on the server all the languages (except hungarian) are defined in another Apache config file. This would explain why lilypond.org is not affected by this bug.
I suggest adding the other languages (besides hungarian) in our .htaccess so we can test the website locally.
2) I'll add also instructions to CG 6.3 on how to test the .htaccess on your local web server.
Sent from sourceforge.net because address@hidden is subscribed to https://sourceforge.net/p/testlilyissues/issues/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/testlilyissues/admin/issues/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________ Testlilyissues-auto mailing list address@hidden https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto
[Prev in Thread] | Current Thread | [Next in Thread] |