How to redirect to a given page depending on the user locale ?

Posted by bgy on Server Fault See other posts from Server Fault or by bgy
Published on 2010-04-13T08:19:29Z Indexed on 2010/04/13 8:23 UTC
Read the original article Hit count: 236

Filed under:

Is there a way to redirect an user depending on is browser locale ?

For instance, I'd like to redirect to a page called index.en.html all users who doesn't have their browser locale set to French.

Could I do this with Apache and .htaccess ?

© Server Fault or respective owner

Related posts about apache2