</section>
<section id="hook_declaration"><title>Hooking into httpd</title>
<p>
-To begin with, we only want to create a simple handler, that replies to the
+To begin with, we only want to create a simple handler that replies to the
client browser when a specific URL is requested, so we won't bother setting
up configuration handlers and directives just yet. Our initial module
definition will look like this:</p>
is the name of a function we will create to manage how we hook onto the
request process. In this example module, the function has just one purpose;
To create a simple hook that gets called after all the rewrites, access
-control etc has been handled. Thus, we will let the server know, that we want
+control etc has been handled. Thus, we will let the server know that we want
to hook into its process as one of the last modules:
</p>
<p>The details given are:</p>
<ul>
- <li>The number of worker serving requests</li>
+ <li>The number of workers serving requests</li>
- <li>The number of idle worker</li>
+ <li>The number of idle workers</li>
<li>The status of each worker, the number of requests that
worker has performed and the total number of bytes served by
is <code>yes</code>.</dd>
<dt><code>--enable-<var>MODULE</var>=shared</code></dt>
- <dd>The corresponding module will be build as DSO module.
+ <dd>The corresponding module will be built as a DSO module.
By default enabled modules are linked dynamically.</dd>
<dt><code>--enable-<var>MODULE</var>=static</code></dt>
information on doing this.)</li>
<li>
- If you system falls into 1 or 2 (above), then increase the
+ If your system falls into 1 or 2 (above), then increase the
file descriptor limit before starting Apache, using a
- script like
+ script like:
<example>
<code>#!/bin/sh<br />
more about customizing your log files.)</p>
<p>When you wish to split your log file into its component parts (one
-file per virtual host) you can use the program <code><a
+file per virtual host), you can use the program <code><a
href="../programs/other.html">split-logfile</a></code> to accomplish
this. You'll find this program in the <code>support</code> directory
of the Apache distribution.</p>