[mirrorbrain-commits] r7701 - trunk/mod_autoindex_mb

From: <poeml_at_mirrorbrain.org>
Date: Tue, 14 Jul 2009 01:10:23 +0200
Author: poeml
Date: Tue Jul 14 01:10:23 2009
New Revision: 7701
URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain?view=revision&revision=7701

Log:
update notes about mod_autoindex_mb

Modified:
   trunk/mod_autoindex_mb/INSTALL
   trunk/mod_autoindex_mb/mod_autoindex.c.patch

Modified: trunk/mod_autoindex_mb/INSTALL
==============================================================================
--- trunk/mod_autoindex_mb/INSTALL	Tue Jul 14 00:31:53 2009	(r7700)
+++ trunk/mod_autoindex_mb/INSTALL	Tue Jul 14 01:10:23 2009	(r7701)
@@ -1 +1,21 @@
+mod_autoindex_mb is a patched mod_autoindex. It adds a little further
+capability as index option.
+
+The provided mod_autoindex.c.patch shows the differences to the original module.
+This patch is *not* meant to be applied to mod_autoindex in the httpd source tree.
+It merely serves to illustrate in which way mod_autoindex_mb differs from
+mod_autoindex.
+
+Only one module can be loaded at a time - either mod_autoindex or mod_autoindex_mb.
+The two modules can not usefully run side by side, because they share the same 
+configuration directives.
+The module name differs, so that it can be explicit which module is loaded.
+
+
+The module can be compiled like this:
 apxs2 -c '-Wc,-Wall -g -D_GNU_SOURCE' mod_autoindex_mb.c
+
+(I can't remember why I needed the _GNU_SOURCE. It was on Linux and was probably
+related to filesystem access. The module should work on any platform, of course.)
+
+poeml, Tue Jul 14 01:02:15 CEST 2009

Modified: trunk/mod_autoindex_mb/mod_autoindex.c.patch
==============================================================================
--- trunk/mod_autoindex_mb/mod_autoindex.c.patch	Tue Jul 14 00:31:53 2009	(r7700)
+++ trunk/mod_autoindex_mb/mod_autoindex.c.patch	Tue Jul 14 01:10:23 2009	(r7701)
@@ -1,7 +1,13 @@
 This patch is not meant to be applied to mod_autoindex in the httpd source tree.
 It is meant to illustrate in what way mod_autoindex_mb differs from mod_autoindex.
-The two modules can run side by side.
-Hence the differing module name.
+
+Only one module can be loaded at a time - either mod_autoindex or mod_autoindex_mb.
+The two modules can not usefully run side by side, because they share the same 
+configuration directives.
+The module name differs, so that it can be explicit which module is loaded.
+
+(It would not be straightforward to change mod_autoindex_mb as much as to allow
+installing it side-by-side).
 
 --- mod_autoindex.c	2008-11-29 22:47:13.000000000 +0100
 +++ mod_autoindex_mb.c	2009-03-10 00:41:41.651357000 +0100
@@ -13,7 +19,7 @@
 + *
 + * For use with transparent metalink generators, like mod_mirrorbrain 
 + * (http://mirrorbrain.org)
-+ * Based on mod_autoindex from httpd 2.2.8
++ * Based on mod_autoindex from httpd 2.2.11
 + * 
 + * Peter Poeml
 + * 2008-04-19


_______________________________________________
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 Mon Jul 13 2009 - 23:10:25 GMT

This archive was generated by hypermail 2.2.0 : Mon Jul 13 2009 - 23:45:07 GMT