LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > Banning Countries - how to?.

Reply
 
Thread Tools Display Modes
  #1  
Old 05-19-2010, 11:15 AM
darksoul darksoul is offline
New Member
 
Join Date: Nov 2005
Posts: 8
Default Banning Countries - how to?.

I know I can look up what country the IP came from with maxmind.. and I guess I would need to create a re-write rule to deny them access if they are from X country?.

I honestly have no idea how to go about doing this, so a walkthrough would be great. I _need_ the following countries banned because of current trade embargos:

Cuba
Iran
Myanmar (Burma)
North Korea (Democratic People's Republic of Korea)
Sudan
Syria

I know it might be asking a bit much to have someone guide me through it step by step, so if there is a guide out there for this it would be lovely.

Thanks!.
Reply With Quote
  #2  
Old 05-19-2010, 12:37 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,585
Just follow the guide for mod_geoip, go to maxmind.com to look it up, you need Enterprise license in order to use GeoIP feature.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 09:29 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.