[mirrorbrain-commits] r8375 - /trunk/mod_mirrorbrain/mod_mirrorbrain.c

From: <poeml_at_mirrorbrain.org>
Date: Tue, 04 Feb 2014 22:44:00 -0000
Author: poeml
Date: Tue Feb  4 23:44:00 2014
New Revision: 8375

URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain?rev=8375&view=rev
Log:
mod_mirrorbrain:
- For the obsolete MirrorBrainMetalinkHashesPathPrefix directive, add a
  message on startup that says why Apache fails and asks the user to
  remove the directive.

Modified:
    trunk/mod_mirrorbrain/mod_mirrorbrain.c

Modified: trunk/mod_mirrorbrain/mod_mirrorbrain.c
URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain/trunk/mod_mirrorbrain/mod_mirrorbrain.c?rev=8375&r1=8374&r2=8375&view=diff
==============================================================================
--- trunk/mod_mirrorbrain/mod_mirrorbrain.c	(original)
+++ trunk/mod_mirrorbrain/mod_mirrorbrain.c	Tue Feb  4 23:44:00 2014
_at_@ -668,6 +668,14 @@
 
     cfg->query_hash = arg1;
     return NULL;
+}
+
+static const char *mb_cmd_metalink_hashes_prefix(cmd_parms *cmd, 
+                                                 void *config, 
+                                                 const char *arg1)
+{
+    return "mod_mirrorbrain: the MirrorBrainMetalinkHashesPathPrefix "
+           "directive is obsolete. It has no effect. Simply remove it.";
 }
 
 static const char *mb_cmd_metalink_publisher(cmd_parms *cmd, void *config, 
_at_@ -3799,6 +3807,11 @@
                   "memcache daemon(s). Default is 600 s."),
 #endif
 
+    AP_INIT_TAKE1("MirrorBrainMetalinkHashesPathPrefix", mb_cmd_metalink_hashes_prefix, NULL, 
+                  RSRC_CONF, 
+                  "Prefix this path when looking for prepared hashes to inject into metalinks. "
+                  "This directive is obsolete (with 2.13.0) and is going to be removed."),
+
     AP_INIT_FLAG("MirrorBrainHashesSuppressFilenames", mb_cmd_hashes_suppress_filenames, NULL,
                   RSRC_CONF, 
                   "Set to On to suppress the filename included when hashes are sent. "




_______________________________________________
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 Tue Feb 04 2014 - 22:44:08 GMT

This archive was generated by hypermail 2.3.0 : Tue Feb 04 2014 - 22:47:04 GMT