{"id":21945906,"url":"https://github.com/ip2location/ip2proxy-apache","last_synced_at":"2025-03-22T16:25:56.219Z","repository":{"id":76795097,"uuid":"102823296","full_name":"ip2location/ip2proxy-apache","owner":"ip2location","description":"A IP2Proxy module for Apache HTTP server.","archived":false,"fork":false,"pushed_at":"2025-02-12T06:57:40.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-14T22:05:57.104Z","etag":null,"topics":["apache","apache-module","http-server","ip2proxy","ip2proxy-database","ip2proxy-module","proxy-database"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ip2location.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2017-09-08T05:55:47.000Z","updated_at":"2025-02-04T07:32:18.000Z","dependencies_parsed_at":"2024-02-19T06:25:23.108Z","dependency_job_id":null,"html_url":"https://github.com/ip2location/ip2proxy-apache","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ip2location%2Fip2proxy-apache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ip2location%2Fip2proxy-apache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ip2location%2Fip2proxy-apache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ip2location%2Fip2proxy-apache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ip2location","download_url":"https://codeload.github.com/ip2location/ip2proxy-apache/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244984744,"owners_count":20542723,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apache","apache-module","http-server","ip2proxy","ip2proxy-database","ip2proxy-module","proxy-database"],"created_at":"2024-11-29T04:20:10.314Z","updated_at":"2025-03-22T16:25:56.195Z","avatar_url":"https://github.com/ip2location.png","language":"C","readme":"# IP2Proxy HTTP Module for Apache\n\nThe 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.\n\nA IP2Proxy database is required for the lookup. It can be downloaded from https://lite.ip2location.com (Free) or https://www.ip2location.com (Commercial).\n\n\n\n### Installation\n\n1. Create a working directory.\n\n   ```\n   mkdir ~/ip2proxy-dev\n   cd ~/ip2proxy-dev\n   ```\n\n   ​\n\n2. Download IP2Proxy C library source code.\n\n   ```\n   git clone https://github.com/ip2location/ip2proxy-c.git\n   ```\n\n   ​\n\n3. Compile and install the IP2Proxy C library.\n\n   ```\n   cd ip2proxy-c\n   autoreconf -i -v --force\n   ./configure\n   make\n   make install\n   ```\n\n   ​\n\n4. Refresh local library.\n\n   ```\n   ldconfig\n   ```\n\n   ​\n\n5. Download IP2Proxy Apache module.\n\n   ```\n   cd ~/ip2proxy-dev\n   git clone https://github.com/ip2location/ip2proxy-apache\n   cd ip2proxy-apache\n   ```\n\n   ​\n\n6. Compile IP2Proxy module.\n\n   ```\n   apxs2 -i -a -L /usr/local/lib/ -I ../ip2proxy-c/libIP2Proxy/ -l IP2Proxy -c mod_ip2proxy.c\n   ```\n\n\n\n### Configuration\n\n```\n\u003cIfModule mod_ip2proxy.c\u003e\n\tIP2ProxyEnable \u003cOn|Off\u003e\n\t# ENV will set server variables\n\t# NOTES will set apache notes\n\t# ALL will set both\n\tIP2ProxySetmode \u003cALL|ENV|NOTES\u003e\n\tIP2ProxyDBFile \u003cPATH_TO_IP2PROXY_BINARY_DATABASE\u003e\n\tIP2ProxyDetectProxy \u003cOn|Off\u003e\n\u003c/IfModule\u003e\n```\n\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fip2location%2Fip2proxy-apache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fip2location%2Fip2proxy-apache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fip2location%2Fip2proxy-apache/lists"}