summaryrefslogtreecommitdiff
path: root/network/mod_geoip2/README.SLACKWARE
blob: 0ad7f462259d945d2ee0b45a64e4d640c7feeb51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
mod_geoip README.SLACKWARE

To enable it, edit /etc/httpd/httpd.conf to include the following:

LoadModule geoip_module       lib/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>

mod_geoip2 can be further configured through the Apache configuration file,
see /usr/doc/mod_geoip2-$VERSION/README for configuration details.