[Mageia-webteam] [Bug 1964] Devise and implement how to manage mageia.$tld => mageia.org redirection

Romain d'Alverny bugzilla-daemon at mageia.org
Wed Jun 29 15:49:28 CEST 2011


https://bugs.mageia.org/show_bug.cgi?id=1964

--- Comment #1 from Romain d'Alverny <rdalverny at gmail.com> 2011-06-29 17:49:28 CEST ---
A solution:
 - have domains point to mageia.org host server;
 - have a vhost for each domain, that will rewrite the request "mageia.$tld" to
"mageia.org/?fromtld=$tld"
 - have the webapp decide or propose where to go, depending on:
    - a locally maintained map of tld => language when this is easy [1]
    - browser language preferences
    - user interactive decision if needed

[1] Mageia.org website is handling languages, not countries. TLDs are not
related to languages, but to countries, or non-country stuff. In some cases,
however, there's a single match (mageia.fr => mageia.org/fr for instance). In
some other cases, that may be different (mageia.ch => de(-ch), fr(-ch),
it(-ch)).

-- 
Configure bugmail: https://bugs.mageia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Mageia-webteam mailing list