Quote:
Originally posted by m00d
ok 12clicks, answer me this un plz....
Whats wrong with the below syntax. I am trying to block all
non-english web browsers from my site. The below seems to
work but not on IE6.0 for some strange reason...
Can u help?...
RewriteCond %{ENV:HTTP_ACCEPT_LANGUAGE} !^en
RewriteRule .* http://GoAway.com/ [R]
P.S. I must do this in the htaccess or httpd.conf , I can' use java, php, or asp to help me. They won't work for my application.
Thx!
|
The HTTP headers are not in ENV, they are in the HTTP variable.
RewriteCond %{HTTP:Accept-Language} !^en
RewriteRule .*
http://GoAway.com [R,L]