htaccess Elite

.htaccess tutorial


All times are UTC [ DST ]





Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: How can I block User-Agents that use a particular language?
PostPosted: 10 Sep 2008 22:45 
Offline

Joined: 10 Sep 2008 22:28
Posts: 1
Hello,

Thank you in advance for your help.

I have a very serious problem that calls for me to block all user agents that use a specific language. In the following example from my logs, the "en-US" stands for "English."

--------------
Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1
--------------

Now, let's say I want to block Chinese ("CH"). How can I do that in htaccess?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB