Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
litespeed_wiki:config:ip2location [2018/01/04 14:29]
Tihomir created
litespeed_wiki:config:ip2location [2018/01/04 15:35]
Lisa Clarke [Enabling GeoLocation]
Line 1: Line 1:
-====== Enabling ​GeoLocation ​====== +====== Enabling ​IP2Location ​====== 
-IP2Location is a non-intrusive ​geo IP solution to help you to identify visitor'​s geographical location, ​i.e. country, region, city, latitude & longitude of city, ZIP code, time zone, connection speed, ISP, domain name, IDD country code, area code, weather station code and name, mobile carrier, elevation and usage type information ​using a proprietary IP address lookup database and technology ​without invading ​the Internet user's privacy. ​+IP2Location is a non-intrusive ​GeoIP solution to help you to identify visitor'​s geographical location, ​providing information such as country, region, city, latitude & longitude of city, ZIP code, time zone, connection speed, ISP, domain name, IDD country code, area code, weather station code and name, mobile carrier, elevation and usage type information. IP2Location uses a proprietary IP address lookup database and technology ​that doesn'​t invade ​the Internet user's privacy. ​
 ===== How to Enable ===== ===== How to Enable =====
 ==== Install ==== ==== Install ====
Line 8: Line 8:
 <​code>​ cd /​usr/​local/​lsws </​code>​ <​code>​ cd /​usr/​local/​lsws </​code>​
  
-Download ​and put IP2Location Database. You can use sample database from this address. +Download ​[[https://​www.ip2location.com/​developers#​sample_ip2location_databases_bin|any sample database from IP2location]] and save to this directory.
- +
-https://​www.ip2location.com/​developers#​sample_ip2location_databases_bin+
  
 ==== Setup ==== ==== Setup ====
Line 76: Line 74:
 [REWRITE] Cond: Match '​NL'​ with pattern '​^(DE)$',​ result: -1 [REWRITE] Cond: Match '​NL'​ with pattern '​^(DE)$',​ result: -1
 </​code>​ </​code>​
-  * ''​2''​ is match, ''​-1''​ is not match+ 
 +Note: ''​2''​ is match, ''​-1''​ is not match
  
 ===== Troubleshooting ===== ===== Troubleshooting =====
  • Admin
  • Last modified: 2018/01/04 15:35
  • by Lisa Clarke