Skip to content

mod_geo

Introduction

mod_geo creates variables with values depending on the client IP address, using the GEO databases.

Module Configuration

Description

conf/mod_geo/mod_geo.conf

Config Item Description
Basic.GeoDBPath String
Path of geo db file
Log.OpenDebug Boolean
Whether enable debug logs
Default False

mod_geo supports GeoDB in MaxMind format which can be downloaded from https://dev.maxmind.com/geoip/geoip2/geolite2/

Example

[Basic]
GeoDBPath = mod_geo/geo.db