summaryrefslogtreecommitdiff
path: root/network/mod_geoip2/mod_geoip.conf
blob: 770ff55d30237ff8e0acb8e7ac1f8210af000c01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Apache configuration for mod_geoip2

LoadModule geoip_module       @baselibdir@/httpd/modules/mod_geoip.so

<IfModule mod_geoip.c>
  GeoIPEnable Off
  GeoIPEnableUTF8 On
  GeoIPOutput Env
  GeoIPDBFile /usr/share/GeoIP/GeoIP.dat MemoryCache
</IfModule>

# GeoIP information is available only inside /xxx
<Location /xxx>
  GeoIPEnable On
</Location>