| redirect for visitors who use particular languages
|
maxidrom11

msg:1514251 | 4:58 am on Jan 24, 2004 (gmt 0) | that's an example, please check if everything is ok RewriteEngine On RewriteCond %{HTTP_ACCEPT_LANGUAGE} de.* [NC,OR] RewriteCond %{HTTP_ACCEPT_LANGUAGE} de-ch.* [NC,OR] RewriteCond %{HTTP_ACCEPT_LANGUAGE} at.* [NC,OR] RewriteCond %{HTTP_ACCEPT_LANGUAGE} en-gb.* [NC,OR] RewriteCond %{HTTP_ACCEPT_LANGUAGE} de-at.* [NC,OR] RewriteCond %{HTTP_ACCEPT_LANGUAGE} de-li.* [NC,OR] RewriteCond %{HTTP_ACCEPT_LANGUAGE} fr-ch.* [NC,OR] RewriteCond %{HTTP_ACCEPT_LANGUAGE} ch.* [NC,OR] RewriteCond %{HTTP_ACCEPT_LANGUAGE} de-de.* [NC] RewriteRule .* [myurl.com...] [R,L]
|
closed

msg:1514252 | 9:50 pm on Jan 24, 2004 (gmt 0) | I don't think you can use HTTP_ACCEPT_LANGUAGE that way, because I don't see it in the mod_rewrite [httpd.apache.org] documentation. AFAIK, you'd have to use a script to check that variable.
|
|
|