[mirrorbrain-commits] r8144 - /trunk/mod_mirrorbrain/mod_mirrorbrain.conf

From: <poeml_at_mirrorbrain.org>
Date: Sun, 19 Sep 2010 01:49:22 -0000
Author: poeml
Date: Sun Sep 19 03:49:20 2010
New Revision: 8144

URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain?rev=8144&view=rev
Log:
mod_mirrorbrain.conf example: update all query parameters

Modified:
    trunk/mod_mirrorbrain/mod_mirrorbrain.conf

Modified: trunk/mod_mirrorbrain/mod_mirrorbrain.conf
URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain/trunk/mod_mirrorbrain/mod_mirrorbrain.conf?rev=8144&r1=8143&r2=8144&view=diff
==============================================================================
--- trunk/mod_mirrorbrain/mod_mirrorbrain.conf (original)
+++ trunk/mod_mirrorbrain/mod_mirrorbrain.conf Sun Sep 19 03:49:20 2010
_at_@ -98,17 +98,31 @@
 
         # If FormGET is "On", the module understands optional query arguments
         # (appended to the URL) for diagnostic or other uses. 
-        #
-        # fakefile                  pretend that the requested file exists (useful for testing)
-        # newmirror                 don't stick to memcached mirror, make a new choice
-        #                              note: newmirror has an effect only when
-        #                                    compiling with memcache support
-        # mirrorlist                don't redirect, but send a HTML list of all mirrors
-        # metalink                  don't redirect, but send a metalink (http://metalinker.org)
+        # Appending the query string with '?' or '.' triggers the same behaviour.
+        #
+        #   metadata parameters:
+        # md5                       return the MD5 hash of the file
+        # sha1                      return the SHA-1 hash of the file
+        # sha256                    return the SHA-256 hash of the file
+        # asc                       return a PGP signature (if existent)
+        # mirrorlist                return an XHTML list of all metadata and all mirrors
+        # meta4                     return an IETF metalink (RFC5854)
+        # metalink                  return a v3 metalink
+        # torrent                   return a torrent
+        # btih                      return the BitTorrent infohash
+        # magnet                    return a magnet link
+        # zsync                     return zsync metadata
+        #
+        #   diagnostic parameters:
         # country=xy                pretend that the request comes from this country 
         #                           (ISO 3166 country code)
         # as=123                    pretend that the request comes from the autonomous 
         #                           system with this number
+        # newmirror                 don't stick to memcached mirror, make a new choice
+        #                              NOTE: newmirror has an effect ONLY when
+        #                                    compiling with memcache support
+        # fakefile                  pretend that the requested file exists
+        #                           (useful ONLY for testing)
         #
         FormGET On
 
_at_@ -119,6 +133,7 @@
         # A redirect would only cost resources (database lookup, mirrorlist generation,
         # additional roundtrip for the client), but not save anything; it's
         # cheaper to deliver small content directly.
+        # This doesn't affect requests on a hash of such a file, or a mirror list.
         MirrorBrainMinSize 4096
 
         # Regexp which determines which files will be excluded from redirecting. 




_______________________________________________
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 19 2010 - 01:49:25 GMT

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