Author: poeml
Date: Sat Nov  6 04:52:11 2010
New Revision: 8208

URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain?rev=8208&view=rev
Log:
- polish the release notes
- add notes about the larger geolite dataset to various places

Modified:
    trunk/docs/changes.rst
    trunk/docs/installation/debian.rst
    trunk/docs/installation/initial_config.rst

Modified: trunk/docs/changes.rst
URL: 
http://svn.mirrorbrain.org/viewvc/mirrorbrain/trunk/docs/changes.rst?rev=8208&r1=8207&r2=8208&view=diff
==============================================================================
--- trunk/docs/changes.rst (original)
+++ trunk/docs/changes.rst Sat Nov  6 04:52:11 2010
@@ -20,27 +20,26 @@
        could be selected otherwise. (Defining fallback mirrors for the latter
        countries worked before, and still has precedence.) 
   
-  To take advantage of this feature, the free `GeoLite City
-  <http://www.maxmind.com/app/geolitecity>`_ GeoIP database needs to be used.
-  See the `2.14.0 upgrade notes`_ for instructions. (This implements `issue
-  34`_.)
+  This implements `issue 34`_. To take advantage of this feature, the free
+  `GeoLite City <http://www.maxmind.com/app/geolitecity>`_ GeoIP database needs
+  to be used.  See the `2.14.0 upgrade notes`_ for instructions.
 
 - Per-file mirror lists have been improved by showing data in a better readable
   way, and by embedding a link to a Google map showing the 9 closest mirrors.
 
-- When running behind a proxy, prefix detection (for containment in network
-  prefixes of mirrors) did not work because mod_mirrorbrain only saw the
-  connecting IP address, and didn't look at an address passed via HTTP headers
-  from the proxy. This has been fixed. (AS, country and continent comparisons
-  already did this.)
-
-- An experimental feature for restricted downloads has been added, by
+- When running behind a load balancer or other reverse proxy, prefix detection
+  (for containment in network prefixes of mirrors) did not work because
+  mod_mirrorbrain only saw the connecting IP address, and didn't look at an
+  address passed via HTTP headers from the proxy. This has been fixed. (AS,
+  country and continent comparisons already did this.)
+
+- Experimental support for restricted downloads has been implemented, by
   redirecting to temporary URLs whose validity need to be verified by the
   mirrors. See
-  http://www.mail-archive.com/mirrorbrain@mirrorbrain.org/msg00011.html
-  This a prototype implementation that might be changed later, hence the new
-  Apache config directive is called
-  ``MirrorBrainRedirectStampKey_EXPERIMENTAL`` at the moment.
+  http://www.mail-archive.com/mirrorbrain@mirrorbrain.org/msg00011.html This a
+  prototype implementation that might be changed later, hence the new Apache
+  config directive is called ``MirrorBrainRedirectStampKey_EXPERIMENTAL`` at
+  the moment.
 
 - The module did not work when access was restricted with authentication (e.g.
   Basic Authentication), due to a broken check which simply needed to be
@@ -50,9 +49,7 @@
 - MirrorBrain has been tested (successfully) against the latest
   :program:`zsync` release (0.6.2) and the documentation updated. 
 
-- An optimization in the :func:`find_lowest_rank` function, which is use to
-  fetch the prioritized mirror from an array, makes it return immediately when
-  the size of the array is 1. This might save some CPU cycles.
+- Optimizations and code cleanup have been performed.
 
 Please read the `2.14.0 upgrade notes`_ before upgrading!
 

Modified: trunk/docs/installation/debian.rst
URL: 
http://svn.mirrorbrain.org/viewvc/mirrorbrain/trunk/docs/installation/debian.rst?rev=8208&r1=8207&r2=8208&view=diff
==============================================================================
--- trunk/docs/installation/debian.rst (original)
+++ trunk/docs/installation/debian.rst Sat Nov  6 04:52:11 2010
@@ -120,6 +120,8 @@
 
 Now, one (or more) of the files ending in ``.updated`` can be used with Apache.
 
+The larger dataset (``GeoLiteCity.dat.updated``) is recommended.
+
 
 Configure mod_dbd
 ~~~~~~~~~~~~~~~~~

Modified: trunk/docs/installation/initial_config.rst
URL: 
http://svn.mirrorbrain.org/viewvc/mirrorbrain/trunk/docs/installation/initial_config.rst?rev=8208&r1=8207&r2=8208&view=diff
==============================================================================
--- trunk/docs/installation/initial_config.rst (original)
+++ trunk/docs/installation/initial_config.rst Sat Nov  6 04:52:11 2010
@@ -349,11 +349,18 @@
 Configuring GeoIP
 -----------------
 
+.. note::
+   It is better to use the larger `GeoLiteCity
+   <http://www.maxmind.com/app/geolitecity>`_ database, instead of the minimal
+   GeoIP database that contains only country information. With the more
+   detailed info in the former database, a better mirror selection is achieved
+   in many cases.
+
 Edit /etc/apache2/conf.d/mod_geoip.conf::
 
   <IfModule mod_geoip.c>
      GeoIPEnable On
-     GeoIPDBFile /var/lib/GeoIP/GeoIP.dat
+     GeoIPDBFile /var/lib/GeoIP/GeoLiteCity.dat.updated
      #GeoIPOutput [Notes|Env|All]
      GeoIPOutput Env
   </IfModule>
@@ -365,7 +372,7 @@
 
   <IfModule mod_geoip.c>
      GeoIPEnable On
-     GeoIPDBFile /var/lib/GeoIP/GeoIP.dat MMapCache
+     GeoIPDBFile /var/lib/GeoIP/GeoLiteCity.dat.updated MMapCache
      GeoIPOutput Env
   </IfModule>
 




_______________________________________________
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-requ...@mirrorbrain.org

Reply via email to