To include the example module in your server, follow the steps below:
</P>
<OL>
- <LI>Uncomment the "Module example_module" line near the bottom of
+ <LI>Uncomment the "AddModule modules/example/mod_example" line near
+ the bottom of
the <CODE>src/Configuration</CODE> file. If there isn't one, add
it; it should look like this:
<PRE>
- Module example_module modules/example/mod_example.o
+ AddModule modules/example/mod_example.o
</PRE>
</LI>
<LI>Run the <CODE>src/Configure</CODE> script
file, and rebuild the server:
<PRE>
-Module info_module mod_info.o
+AddModule modules/standard/mod_info.o
</PRE>
<H2>Directives</H2>
server build <tt>Configuration</tt> file:
<pre>
- Module mime_magic_module mod_mime_magic.o
+ AddModule modules/standard/mod_mime_magic.o
</pre>
This should be listed <em>before</em> mod_mime in the build
default. To use <code>mod_rewrite</code> you have to enable the following line
in the server build Configuration file:
<pre>
- Module rewrite_module mod_rewrite.o
+ AddModule modules/standard/mod_rewrite.o
</pre>
<h2>Summary</h2>