![]() |
WTF?? IE 6 is wack!
Check this out. In a attempt to block all surfers NOT using English as thier browser language I used the following in my htaccess file:
RewriteCond %{ENV:HTTP_ACCEPT_LANGUAGE} !^en RewriteRule .* http://myerrorpage/ [R] It worked like a charm except on IE 6 users?... Very strange...Oh well back to the drawing board... IF anyone can help me with this i'd name my first born after you:)....I gotta stop all these non-english speaking folx from chewing up my bandwidth...Thx! |
Did it reject ie6 users, or accept them?
|
Adultwire,
It redirected IE6 users to the error page as if they were not using a English browser...Strange.. |
Just for your information.....many people who don't have an english browser installed do speak english....sending people
away on browser version means losing money... DynaMite :2 cents: |
Well that may be true, but when I 'send them away' I send them directly to my sponsor, so it won't loose me money, it will save me bandwidth...But its mute...I can't get it to work...arg...
No one seems to be able to help... Thx! |
That command should work. I'm running IE6 and it is sending the correct language header. You might try logging the language
of your surfers and see what they're sending. To add language logging to an apache custom log, just add the following token "%{Accept-Language}i" (minus the quotes). |
Thx, i'll try the logging and see what I get...
Its weird, I had several friends try it, but only the IE6 users were redirected...so strange... |
this method of traffic filtering is way out of control, it wont get you anywhere... It is best to simply ban Asian IPs and thats it.
|
Zubr,
So u would advise blocking certain traffic by setting the allow/deny in the httpd.conf? Or can it be done in the htaccess successfully? |
All times are GMT -7. The time now is 03:39 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123