## _ _ ## _ __ ___ ___ __| | ___ ___| | mod_ssl ## | '_ ` _ \ / _ \ / _` | / __/ __| | Apache Interface to OpenSSL ## | | | | | | (_) | (_| | \__ \__ \ | www.modssl.org ## |_| |_| |_|\___/ \__,_|___|___/___/_| ftp.modssl.org ## |_____| ## ____________________________________________________________________________ ## ## Annotated patch file: addon.patch ## Copyright (c) 1998-2001 Ralf S. Engelschall, All Rights Reserved. ## Created on: 29-Jan-2001 ## ## This file assembles changes to existing Apache source files ## between the original Apache and the patched variant. It can be ## automatically applied to a vanilla Apache source tree with the ## 'patch' tool to upgrade those files. Each patch snippet is ## annotated with a short description. ## +--------------------------------------------------------------------------- | Add an entry for mod_define. +--------------------------------------------------------------------------- Index: src/Configuration.tmpl --- src/Configuration.tmpl 1999/08/17 11:21:38 1.1.1.5 +++ src/Configuration.tmpl 2000/10/09 12:15:02 1.21 @@ -243,6 +298,11 @@ AddModule modules/standard/mod_env.o +## mod_define expands variables on arbitrary directive lines. +## It requires Extended API (EAPI). + +# AddModule modules/extra/mod_define.o + ## ## Request logging modules ## +--------------------------------------------------------------------------- | Add more beautiful optic to the status page table.. +--------------------------------------------------------------------------- Index: src/modules/standard/mod_status.c --- src/modules/standard/mod_status.c 2001/01/23 11:35:14 1.1.1.11 +++ src/modules/standard/mod_status.c 2001/01/23 11:48:08 1.8 @@ -478,12 +478,33 @@ if (no_table_report) ap_rputs("


Server Details

\n\n", r); else +#ifndef NO_PRETTYPRINT + ap_rputs("

\n\n" + "" + "" + "" + "" + "" +#ifndef NO_TIMES + "" +#endif + "" + "" + "" + "" + "" + "" + "" + "" + "\n", r); +#else /* NO_PRETTYPRINT */ #ifdef NO_TIMES /* Allow for OS/2 not having CPU stats */ ap_rputs("

\n\n

SrvPIDAccMCPUSSReqConnChildSlotHostVHostRequest
\n\n", r); #else ap_rputs("

\n\n

SrvPIDAccM\nSSReqConnChildSlotClientVHostRequest
\n\n", r); #endif +#endif /* NO_PRETTYPRINT */ } for (i = 0; i < HARD_SERVER_LIMIT; ++i) { @@ -601,14 +622,19 @@ vhost->server_hostname) : "(unavailable)"); } else { /* !no_table_report */ +#ifndef NO_PRETTYPRINT + ap_rprintf(r,""); +#else + ap_rprintf(r,""); +#endif if (score_record.status == SERVER_DEAD) ap_rprintf(r, - "\n\n"); else +#ifndef NO_PRETTYPRINT + ap_rprintf(r, + "\n\n", + score_record.client, + vhost ? vhost->server_hostname : "(unavailable)", + ap_escape_html(r->pool, score_record.request)); +#else ap_rprintf(r, "\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)); +#endif } /* no_table_report */ } /* !short_report */ } /* if () */ +--------------------------------------------------------------------------- | Add a hyperlink to the mod_define.html document. +--------------------------------------------------------------------------- Index: htdocs/manual/mod/index.html --- htdocs/manual/mod/index.html 2001/01/23 11:35:19 1.1.1.4 +++ htdocs/manual/mod/index.html 2001/01/23 11:48:05 1.10 @@ -65,6 +65,8 @@
mod_cookies up to Apache 1.1.1
Support for Netscape-like cookies. Replaced in Apache 1.2 by mod_usertrack +
mod_define +
Variable Definition for Arbitrary Directives
mod_digest Apache 1.1 and up
MD5 authentication
mod_dir +--------------------------------------------------------------------------- | Add a hyperlink for the Define directives. +--------------------------------------------------------------------------- Index: htdocs/manual/mod/directives.html --- htdocs/manual/mod/directives.html 2000/10/12 08:17:45 1.1.1.9 +++ htdocs/manual/mod/directives.html 2000/10/12 08:31:47 1.19 @@ -99,6 +99,7 @@
  • DefaultIcon
  • DefaultLanguage
  • DefaultType +
  • Define
  • Deny
  • <Directory>
  • <DirectoryMatch>
  • SrvPIDAccMCPU\nSSReqConnChildSlotClientVHostRequest
    %d-%d-%d/%lu/%lu", + "%d-%d-%d/%lu/%lu", i, (int) ps_record.generation, (int) conn_lres, my_lres, lres); else ap_rprintf(r, - "
    %d-%d%d%d/%lu/%lu", + "%d-%d%d%d/%lu/%lu", i, (int) ps_record.generation, (int) ps_record.pid, (int) conn_lres, my_lres, lres); @@ -668,12 +694,23 @@ ap_rprintf(r, "??..reading..
    %s" + "%s" + "%s" + "
    %s%s%s