httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rodent of Unusual Size <c...@hyperreal.org>
Subject cvs commit: apachen/src/modules/standard mod_info.c
Date Sun, 31 Aug 1997 13:30:53 GMT
coar        97/08/31 06:30:53

  Modified:    src/modules/example mod_example.c
               src/modules/standard mod_info.c
  Log:
  	Add the server build time to some other useful places.
  
  Revision  Changes    Path
  1.15      +6 -1      apachen/src/modules/example/mod_example.c
  
  Index: mod_example.c
  ===================================================================
  RCS file: /export/home/cvs/apachen/src/modules/example/mod_example.c,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- mod_example.c	1997/08/18 13:12:05	1.14
  +++ mod_example.c	1997/08/31 13:30:51	1.15
  @@ -548,6 +548,11 @@
       rputs ("  <H1><SAMP>mod_example</SAMP> Module Content-Handler Output\n",
r);
       rputs ("  </H1>\n", r);
       rputs ("  <P>\n", r);
  +    rprintf (r, "  Apache HTTP Server version: \"%s\"\n", SERVER_VERSION);
  +    rputs ("  <BR>\n", r);
  +    rprintf (r, "  Server built: \"%s\"\n", SERVER_BUILT);
  +    rputs ("  </P>\n", r);;
  +    rputs ("  <P>\n", r);
       rputs ("  The format for the callback trace is:\n", r);
       rputs ("  </P>\n", r);
       rputs ("  <DL>\n", r);
  @@ -1190,5 +1195,5 @@
       example_hparser,            /* [2] header parser */
       example_child_init,         /* process initializer */
       example_child_exit,		/* process exit/cleanup */
  -    example_post_readreq	/* ? */
  +    example_post_readreq	/* [?] post read_request handling */
   };
  
  
  
  1.26      +2 -0      apachen/src/modules/standard/mod_info.c
  
  Index: mod_info.c
  ===================================================================
  RCS file: /export/home/cvs/apachen/src/modules/standard/mod_info.c,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- mod_info.c	1997/08/18 13:12:13	1.25
  +++ mod_info.c	1997/08/31 13:30:52	1.26
  @@ -350,6 +350,8 @@
   		if(!r->args || !strcasecmp(r->args,"server")) {	
   			ap_snprintf(buf, sizeof(buf), "<a name=\"server\"><strong>Server Version:</strong>
<font size=+1><tt>%s</tt></a></font><br>\n",SERVER_VERSION);
   			rputs(buf,r);
  +			ap_snprintf(buf, sizeof(buf), "<strong>Server Built:</strong> <font size=+1><tt>%s</tt></a></font><br>\n",SERVER_BUILT);
  +			rputs(buf,r);
   			ap_snprintf(buf, sizeof(buf), "<strong>API Version:</strong> <tt>%d</tt><br>\n",MODULE_MAGIC_NUMBER);
   			rputs(buf,r);
   			ap_snprintf(buf, sizeof(buf), "<strong>Run Mode:</strong> <tt>%s</tt><br>\n",standalone?"standalone":"inetd");
  
  
  

Mime
View raw message