GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   WTF?? IE 6 is wack! (https://gfy.com/showthread.php?t=61644)

m00d 05-24-2002 09:20 AM

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!

AdultWire 05-24-2002 10:49 AM

Did it reject ie6 users, or accept them?

m00d 05-24-2002 10:54 AM

Adultwire,

It redirected IE6 users to the error page as if they were not using a English browser...Strange..

ServerGenius 05-24-2002 11:51 AM

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:

m00d 05-24-2002 05:50 PM

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!

NetRodent 05-24-2002 05:58 PM

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).

m00d 05-24-2002 06:36 PM

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...

zubr 05-24-2002 06:39 PM

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.

m00d 05-24-2002 07:10 PM

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