This forum has been moved here:
Helicon Tech Community Forum

  Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 2.x (Forum Locked Forum Locked)
 Helicon Tech : ISAPI_Rewrite 2.x
Subject Topic: Redirect Country
Message |

Joined: 15 May 2007
Posts: 23
Posted: 28 July 2011 at 2:22am

We currently use the following rule to block IP addresses:

RewriteCond %REMOTE_ADDR 38\.101\.148\.120

RewriteRule .* /999.html [L]

The 999 file is 0 bytes and I use it to see that the blocking/redirecting is working and it works great.

However we have recently been having a number of attacks from one specific country and I would like to block the country. The country is Vietnam.

Could anyone give me any advice on how to do this?





Back to Top
Admin Group

Joined: 30 January 2007
Location: Ukraine
Posts: 10519
Posted: 28 July 2011 at 3:58am

The best way to achieve this is to use either IIS tools for blocking IP ranges or the firewall settings.
Doing this with ISAPI_Rewrite is far more complicated.

Back to Top

Sorry, you can NOT post a reply.
This forum has been locked by a forum administrator.

Printable version Printable version
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum