##
## Annotated patch file: addon.patch
## Copyright (c) 1998-2001 Ralf S. Engelschall, All Rights Reserved.
-## Created on: 04-Oct-2002
+## Created on: 18-Jul-2003
##
## This file assembles changes to existing Apache source files
## between the original Apache and the patched variant. It can be
| Add more beautiful optic to the status page table..
+---------------------------------------------------------------------------
Index: src/modules/standard/mod_status.c
---- src/modules/standard/mod_status.c 27 Mar 2002 15:23:06 -0000 1.1.1.14
-+++ src/modules/standard/mod_status.c 27 Mar 2002 15:30:03 -0000 1.11
+--- src/modules/standard/mod_status.c 18 Jul 2003 15:44:39 -0000 1.1.1.15
++++ src/modules/standard/mod_status.c 18 Jul 2003 15:56:59 -0000 1.12
@@ -484,12 +484,33 @@
if (no_table_report)
ap_rputs("<p><hr><h2>Server Details</h2>\n\n", r);
}
for (i = 0; i < HARD_SERVER_LIMIT; ++i) {
-@@ -607,14 +628,19 @@
+@@ -617,6 +638,11 @@
vhost->server_hostname) : "(unavailable)");
}
else { /* !no_table_report */
+ ap_rprintf(r,"<tr>");
+#endif
if (score_record.status == SERVER_DEAD)
+ #ifdef TPF
+ if (kill(ps_record.pid, 0) == 0) {
+@@ -629,12 +655,12 @@
+ } else
+ #endif /* TPF */
ap_rprintf(r,
- "<tr><td><b>%d-%d</b><td>-<td>%d/%lu/%lu",
+ "<td><b>%d-%d</b><td>-<td>%d/%lu/%lu",
i, (int) ps_record.generation,
(int) ps_record.pid, (int) conn_lres,
my_lres, lres);
-@@ -674,12 +700,23 @@
- ap_rprintf(r,
- "<td>?<td nowrap>?<td nowrap>..reading.. </tr>\n\n");
- else
-+#ifndef NO_PRETTYPRINT
-+ ap_rprintf(r,
-+ "<td nowrap><font face=\"Arial,Helvetica\" size=\"-1\">%s</font>"
-+ "<td nowrap><font face=\"Arial,Helvetica\" size=\"-1\">%s</font>"
-+ "<td nowrap><font face=\"Arial,Helvetica\" size=\"-1\">%s</font>"
-+ "</tr>\n\n",
-+ score_record.client,
-+ vhost ? vhost->server_hostname : "(unavailable)",
-+ ap_escape_html(r->pool, score_record.request));
-+#else
- ap_rprintf(r,
- "<td>%s<td nowrap>%s<td nowrap>%s</tr>\n\n",
- ap_escape_html(r->pool, score_record.client),
- vhost ? ap_escape_html(r->pool,
- vhost->server_hostname) : "(unavailable)",
- ap_escape_html(r->pool, score_record.request));
+@@ -737,6 +774,12 @@
+ </table>\n", r);
+ #endif
+ }
++
++#ifdef EAPI
++ ap_hook_use("ap::mod_status::display",
++ AP_HOOK_SIG4(void,ptr,int,int), AP_HOOK_ALL,
++ r, no_table_report, short_report);
+#endif
- } /* no_table_report */
- } /* !short_report */
- } /* if (<active child>) */
+
+ } else {
+
+---------------------------------------------------------------------------
| Add a hyperlink to the mod_define.html document.
| Add a hyperlink for the Define directives.
+---------------------------------------------------------------------------
Index: htdocs/manual/mod/directives.html.en
---- htdocs/manual/mod/directives.html.en 4 Oct 2002 11:50:01 -0000 1.1.1.4
-+++ htdocs/manual/mod/directives.html.en 4 Oct 2002 11:54:56 -0000 1.5
-@@ -220,6 +220,8 @@
+--- htdocs/manual/mod/directives.html.en 18 Jul 2003 15:44:16 -0000 1.1.1.5
++++ htdocs/manual/mod/directives.html.en 18 Jul 2003 15:56:57 -0000 1.6
+@@ -228,6 +228,8 @@
<li><a href="core.html#defaulttype">DefaultType</a></li>