[mirrorbrain-commits] r8174 - /trunk/docs/installation/initial_config.rst

From: <poeml_at_mirrorbrain.org>
Date: Sun, 26 Sep 2010 17:07:22 -0000
Author: poeml
Date: Sun Sep 26 19:07:20 2010
New Revision: 8174

URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain?rev=8174&view=rev
Log:
docs/installation/initial_config:
- in the example with the stupid geoiplookup_continent tool, use path to GeoIP database
- update the logging configuration example

Modified:
    trunk/docs/installation/initial_config.rst

Modified: trunk/docs/installation/initial_config.rst
URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain/trunk/docs/installation/initial_config.rst?rev=8174&r1=8173&r2=8174&view=diff
==============================================================================
--- trunk/docs/installation/initial_config.rst (original)
+++ trunk/docs/installation/initial_config.rst Sun Sep 26 19:07:20 2010
_at_@ -128,9 +128,10 @@
   mb help
 
 
-Also, the following should work::
-
-   % geoiplookup_continent www.slashdot.org
+Also, the following should work (you might have to change the path to 
+:file:`/usr/share/GeoIP` for your system)::
+
+   % geoiplookup_continent -f /var/lib/GeoIP/GeoIP.dat www.slashdot.org
   NA
 
 The ``NA`` stands for North America and indicates that the GeoIP lookup works
_at_@ -254,9 +255,10 @@
 details from MirrorBrain added::
 
   LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" \
-  %{X-MirrorBrain-Mirror}o r:%{MB_REALM}e \
+  want:%{WANT}e give:%{GIVE}e r:%{MB_REALM}e %{X-MirrorBrain-Mirror}o \
   %{MB_CONTINENT_CODE}e:%{MB_COUNTRY_CODE}e ASN:%{ASN}e P:%{PFX}e \
   size:%{MB_FILESIZE}e %{Range}i" combined_redirect
+
 
 
 This defines a new log format called "combined_redirect", which you can use in




_______________________________________________
mirrorbrain-commits mailing list
Archive: http://mirrorbrain.org/archive/mirrorbrain-commits/

Note: To remove yourself from this list, send a mail with the content
 	unsubscribe
to the address mirrorbrain-commits-request_at_mirrorbrain.org
Received on Sun Sep 26 2010 - 17:07:25 GMT

This archive was generated by hypermail 2.3.0 : Mon Feb 20 2012 - 23:47:04 GMT