1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
4 <TITLE>Apache module mod_so</TITLE>
7 <!-- Background white, links blue (unvisited), navy (visited), red (active) -->
15 <!--#include virtual="header.html" -->
16 <H1 ALIGN="CENTER">Module mod_so</H1>
18 This module is contained in the <CODE>mod_so.c</CODE> file, and is not
19 compiled in by default. It provides for loading of executable code and
20 modules into the server at start-up time, on Unix systems. Win32
21 systems use <A HREF="mod_dll.html">mod_dll</A> instead. This module is
22 only available in Apache 1.3 and up.
26 This is an experimental module. On selected operating systems it can
27 be used to load modules into Apache at runtime, rather than requiring
33 <LI><A HREF="#loadfile">LoadFile</A>
34 <LI><A HREF="#loadmodule">LoadModule</A>
39 <h2><A name="loadfile">LoadFile</A></h2>
40 <!--%plaintext <?INDEX {\tt LoadFile} directive> -->
42 HREF="directive-dict.html#Syntax"
44 ><STRONG>Syntax:</STRONG></A> LoadFile <EM>filename filename ...</EM><BR>
46 HREF="directive-dict.html#Context"
48 ><STRONG>Context:</STRONG></A> server config<BR>
50 HREF="directive-dict.html#Status"
52 ><STRONG>Status:</STRONG></A> Experimental<BR>
54 HREF="directive-dict.html#Module"
56 ><STRONG>Module:</STRONG></A> mod_so<P>
58 The LoadFile directive links in the named object files or libraries when
59 the server is started; this is used to load additional code which
60 may be required for some module to work. <EM>Filename</EM> is relative
61 to <A HREF="core.html#serverroot">ServerRoot</A>.<P><HR>
63 <h2><A name="loadmodule">LoadModule</A></h2>
64 <!--%plaintext <?INDEX {\tt LoadModule} directive> -->
66 HREF="directive-dict.html#Syntax"
68 ><STRONG>Syntax:</STRONG></A> LoadModule <EM>module filename</EM><BR>
70 HREF="directive-dict.html#Context"
72 ><STRONG>Context:</STRONG></A> server config<BR>
74 HREF="directive-dict.html#Status"
76 ><STRONG>Status:</STRONG></A> Experimental<BR>
78 HREF="directive-dict.html#Module"
80 ><STRONG>Module:</STRONG></A> mod_so<P>
82 The LoadModule directive links in the object file or library <EM>filename</EM>
83 and adds the module structure named <EM>module</EM> to the list of active
84 modules. <EM>Module</EM> is the name of the external variable of type
85 <CODE>module</CODE> in the file. Example:
87 LoadModule status_module modules/mod_status.so
89 loads the module in the modules subdirectory of the ServerRoot.<P>
92 <!--#include virtual="footer.html" -->