Recently there is a Web site project requirements: the need to block domestic requests. Take the time to study the information in this area. The best way to find it now is to use the Nginx GeoIP module to realize the region's identification. Then
PHP installation of GeoIP extension based on the IP address to obtain the geographic location and calculation distance method, geoip geographic location
Obtain the visitor's country, city, and latitude and longitude Based on the IP addressInstall
Using MaxMind to locate visitors by IP address sometimes you need to know the country from which your site visitors come from-for example, if you are planning to execute an advertising plan for a geographical region. This document introduces this
The Nginx Access log we collected through Logstash already contains the data for the client IP (REMOTE_ADDR), but only this IP is not enough, the location of the Kibana to display the requested source needs to be implemented by GEOIP database. GeoIP
After AWStats is installed by default, it does not have the country or region information to identify visitors. Therefore, you need to install the plug-in to support AWStats to list the countries and regions of visitors for analysis.
Geoip is a
Awstats is a foreign open source of the website PV flow monitoring software, can obtain Apache or Nginx log information, the log useful information to integrate into the HTML page display, because the content of the analytic log is very meticulous,
Use MaxMind to locate visitors based on IP addresses. Sometimes you need to know the country in which your site visitors come from-for example, if you are planning to launch an advertising program for a geographical region. This document introduces
Sometimes you need to know the country from which your site visitors come from-for example, if you are planning to perform the advertising program for the geographical region. This document introduces this method first. Sometimes you need to know
Access the country/city/latitude and longitude of the visitor based on IPInstall GeoIP Extensions:
sudo apt-get install Libgeoip-dev
Note: The beta version is to specify the version number. If it is apt to install PHP,
There are many databases for geographic location query, most of which are available in free versions. There are pure databases in China, but they only provide the geographical location information of text and do not provide latitude and longitude
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.