summaryrefslogtreecommitdiffstats
path: root/network/mod_geoip2/mod_geoip.conf
diff options
context:
space:
mode:
author Zordrak2010-05-13 00:37:15 +0200
committer Robby Workman2010-05-13 00:37:15 +0200
commit8900f695e50fd4af41fc9cfbdbf821ee8a2b29ef (patch)
tree86c25082e59d5f51799d94dbce5fc2fe265adf4a /network/mod_geoip2/mod_geoip.conf
parentc34de5f8e296453fae11aac9af5f9c26920ffd6a (diff)
downloadslackbuilds-8900f695e50fd4af41fc9cfbdbf821ee8a2b29ef.tar.gz
network/mod_geoip2: Updated for version 1.2.5
Diffstat (limited to 'network/mod_geoip2/mod_geoip.conf')
-rw-r--r--network/mod_geoip2/mod_geoip.conf15
1 files changed, 15 insertions, 0 deletions
diff --git a/network/mod_geoip2/mod_geoip.conf b/network/mod_geoip2/mod_geoip.conf
new file mode 100644
index 0000000000..770ff55d30
--- /dev/null
+++ b/network/mod_geoip2/mod_geoip.conf
@@ -0,0 +1,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>