summaryrefslogtreecommitdiff
path: root/network/mod_geoip2/README.SLACKWARE
diff options
context:
space:
mode:
Diffstat (limited to 'network/mod_geoip2/README.SLACKWARE')
-rw-r--r--network/mod_geoip2/README.SLACKWARE21
1 files changed, 21 insertions, 0 deletions
diff --git a/network/mod_geoip2/README.SLACKWARE b/network/mod_geoip2/README.SLACKWARE
new file mode 100644
index 0000000000..0ad7f46225
--- /dev/null
+++ b/network/mod_geoip2/README.SLACKWARE
@@ -0,0 +1,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.
+