[interchange-cvs] interchange - kwalsh modified 2 files

interchange-core@icdevgroup.org interchange-core@icdevgroup.org
Tue Oct 1 22:01:01 2002


User:      kwalsh
Date:      2002-10-02 02:00:16 GMT
Modified:  dist/src/mod_interchange mod_interchange.c
Modified:           mod_interchange.html
Log:
	* Added the module identification to the Apache version string
	  so that it shows up in the "Server:" response header field
	  when Apache is configured to show version information.

	  Of course, suitably paranoid system administrators should
	  configure Apache so that it doesn't release unnecessay server
	  information.

	  Any competent adminsitrator should know what module version
	  they have anyway. :-)

Revision  Changes    Path
2.3       +15 -2     interchange/dist/src/mod_interchange/mod_interchange.c


rev 2.3, prev_rev 2.2
Index: mod_interchange.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /var/cvs/interchange/dist/src/mod_interchange/mod_interchange.c,v
retrieving revision 2.2
retrieving revision 2.3
diff -u -r2.2 -r2.3
--- mod_interchange.c	5 Aug 2002 19:22:53 -0000	2.2
+++ mod_interchange.c	2 Oct 2002 02:00:16 -0000	2.3
@@ -1,10 +1,10 @@
 /*
- *	$Id: mod_interchange.c,v 2.2 2002/08/05 19:22:53 kwalsh Exp $
+ *	$Id: mod_interchange.c,v 2.3 2002/10/02 02:00:16 kwalsh Exp $
  *
  *	Apache Module implementation of the Interchange application server
  *	link programs.
  *
- *	Version: 1.22
+ *	Version: 1.23
  *
  *	Author: Kevin Walsh <kevin@cursor.biz>
  *	Based on original code by Francis J. Lacoste <francis.lacoste@iNsu.COM>
@@ -42,6 +42,8 @@
 #include <sys/un.h>
 #include <unistd.h>
=20
+#define	MODULE_VERSION	"mod_interchange/1.23"
+
 #ifdef	OSX
 typedef long socklen_t;
 #endif
@@ -92,6 +94,7 @@
 	char buff[HUGE_STRING_LEN];
 }ic_response_buffer;
=20
+static void ic_initialise(server_rec *,pool *);
 static void *ic_create_dir_config(pool *,char *);
 static const char *ic_server_cmd(cmd_parms *,void *,const char *);
 static const char *ic_serverbackup_cmd(cmd_parms *,void *,const char *);
@@ -106,6 +109,16 @@
 static int ic_handler(request_rec *);
=20
 /*
+ *	ic_initialise()
+ *	---------------
+ *	Module initialisation.
+ */
+static void ic_initialise(server_rec *s,pool *p)
+{
+	ap_add_version_component(MODULE_VERSION);
+}
+
+/*
  *	ic_create_dir_config()
  *	----------------------
  *	This module's per-directory config creator.
@@ -850,7 +863,7 @@
  */
 module MODULE_VAR_EXPORT interchange_module =3D{
 	STANDARD_MODULE_STUFF,
-	NULL,			/* module initializer                 */
+	ic_initialise,		/* module initialiser                 */
 	ic_create_dir_config,	/* per-directory config creator       */
 	NULL,			/* dir config merger                  */
 	NULL,			/* server config creator              */



2.3       +21 -3     interchange/dist/src/mod_interchange/mod_interchange.h=
tml


rev 2.3, prev_rev 2.2
Index: mod_interchange.html
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /var/cvs/interchange/dist/src/mod_interchange/mod_interchange.htm=
l,v
retrieving revision 2.2
retrieving revision 2.3
diff -u -r2.2 -r2.3
--- mod_interchange.html	5 Aug 2002 19:22:53 -0000	2.2
+++ mod_interchange.html	2 Oct 2002 02:00:16 -0000	2.3
@@ -1,17 +1,17 @@
-<!-- $Id: mod_interchange.html,v 2.2 2002/08/05 19:22:53 kwalsh Exp $ -->
+<!-- $Id: mod_interchange.html,v 2.3 2002/10/02 02:00:16 kwalsh Exp $ -->
 <html>
 <head>
    <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8=
859-1">
-   <title>Apache module: mod_interchange (version 1.22)</title>
+   <title>Apache module: mod_interchange (version 1.23)</title>
 </head>
 <body bgcolor=3D"#FFFFFF" text=3D"#000000">
-    <h1>Apache module: mod_interchange (version 1.22)</h1>
+    <h1>Apache module: mod_interchange (version 1.23)</h1>
     <h2>Apache link module for Interchange</h2>
     <p>
 	This module replaces the <i>tlink</i> and <i>vlink</i> programs
 	that come with <a href=3D"http://www.icdevgroup.org/">Interchange</a>.&nb=
sp;
 	It has been tested with all Interchange versions up to and
-	including 4.9.2.&nbsp;
+	including 4.9.3 (development).&nbsp;
 	Although this module is known to have worked with MiniVend versions 3
 	and 4, its current compatibility has not been tested.
     </p>
@@ -223,6 +223,24 @@
     <h2><a name=3D"changelog">Change Log</a></h2>
     <ul>
 	<li>
+	    1.23
+	    (Wed 02 Oct 2002)
+	    Kevin Walsh &lt;kevin@cursor.biz&gt;<br>
+	    <ul>
+		<li>
+		    Added the module identification to the Apache version
+		    string so that it shows up in the "Server:" response
+		    header field when Apache is configured to show version
+		    information.&nbsp;
+		    Of course, suitably paranoid system administrators should
+		    configure Apache so that it doesn't release unnecessay
+		    server information.&nbsp;
+		    Any competent adminsitrator should know what module
+		    versions they have anyway. :-)
+		</li>
+	    </ul>
+	    <br>
+	</li><li>
 	    1.22
 	    (Mon 05 Aug 2002)
 	    Kevin Walsh &lt;kevin@cursor.biz&gt;<br>