I think the same discussion is going in paraller in 2 threads: this one --
"National web sites (Basque)", and in "Website: Detecting Visitor's
Locale". At the latter thread, the notion tends towards using JavaScript
for auto-redirection; that would allow a user to bypass .htaccess
auto-redirection, by using the language dropdown and override the
redirection of the machine from that moment on (on refresh, and future
visits).
I suggest to reply only to the latter thread, since the subject line is
more relevant.



On Mon, Jul 7, 2014 at 9:23 PM, Ariel Constenla-Haile <[email protected]>
wrote:

> On Mon, Jul 07, 2014 at 10:26:07AM -0400, Rob Weir wrote:
> > >> Can the Mozilla scenario be replicated at <http://www.openoffice.org
> >?
> > >
> > > Mozilla uses Python[1] on its server; AFAIK the ASF does not use/allow
> > > server-side scripting, so the solution needs to be implemented on the
> > > client-side.
>
> That should read "AFAIK the ASF does not use/allow server-side scripting
> at project level"; mirrors seem to be handled with a Python script, if
> this is the code
>
> https://svn.apache.org/viewvc/infrastructure/site/trunk/content/dyn/mirrors/mirrors.cgi?view=markup
>
>
> > Though we should be able to do redirects via Apache HTTP Server and
> > mod_rewrite.  That can look at request headers and pick out the
> > Accept-Language header, right?
>
> yes, this can even be done in .htaccess (see the tool
> http://www.htaccesstools.com/redirection-by-language/ ); I assume that
> only www.openoffice.org/index.html it planned to be redirected,
> otherwise the whole English content will need to be moved to /en-us/,
> which might break things.
>
>
> Regards
> --
> Ariel Constenla-Haile
> La Plata, Argentina
>



-- 
טל

Reply via email to