Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ip2location/ip2proxy-apache
A IP2Proxy module for Apache HTTP server.
https://github.com/ip2location/ip2proxy-apache
apache apache-module http-server ip2proxy ip2proxy-database ip2proxy-module proxy-database
Last synced: about 1 month ago
JSON representation
A IP2Proxy module for Apache HTTP server.
- Host: GitHub
- URL: https://github.com/ip2location/ip2proxy-apache
- Owner: ip2location
- Created: 2017-09-08T05:55:47.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-02-19T05:08:28.000Z (11 months ago)
- Last Synced: 2024-02-19T06:25:18.310Z (11 months ago)
- Topics: apache, apache-module, http-server, ip2proxy, ip2proxy-database, ip2proxy-module, proxy-database
- Language: C
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# IP2Proxy HTTP Module for Apache
The module detects visitor IP addresses which are used as VPN anonymizer, open proxies, web proxies, Tor exit nodes, search engine robots, data center ranges, residential proxies, consumer privacy networks, and enterprise private networks.
A IP2Proxy database is required for the lookup. It can be downloaded from https://lite.ip2location.com (Free) or https://www.ip2location.com (Commercial).
### Installation
1. Create a working directory.
```
mkdir ~/ip2proxy-dev
cd ~/ip2proxy-dev
```
2. Download IP2Proxy C library source code.
```
git clone https://github.com/ip2location/ip2proxy-c.git
```
3. Compile and install the IP2Proxy C library.
```
cd ip2proxy-c
autoreconf -i -v --force
./configure
make
make install
```
4. Refresh local library.
```
ldconfig
```
5. Download IP2Proxy Apache module.
```
cd ~/ip2proxy-dev
git clone https://github.com/ip2location/ip2proxy-apache
cd ip2proxy-apache
```
6. Compile IP2Proxy module.
```
apxs2 -i -a -L /usr/local/lib/ -I ../ip2proxy-c/libIP2Proxy/ -l IP2Proxy -c mod_ip2proxy.c
```### Configuration
```
IP2ProxyEnable
# ENV will set server variables
# NOTES will set apache notes
# ALL will set both
IP2ProxySetmode
IP2ProxyDBFile
IP2ProxyDetectProxy```