# Module mod_so

This module is contained in the `mod_so.c` file, and is not compiled in by default. It provides for loading of executable code and modules into the server at start-up time, on Unix systems. Win32 systems use mod_dll instead. This module is only available in Apache 1.3 and up.

## Summary

This is an experimental module. On selected operating systems it can be used to load modules into Apache at runtime, rather than requiring a recompilation.

## Directives

- LoadFile
- LoadModule

## LoadFile

Syntax: LoadFile filename filename ...
Context: server config
Status: Experimental
Module: mod_so

The LoadFile directive links in the named object files or libraries when the server is started; this is used to load additional code which may be required for some module to work. Filename is relative to ServerRoot.

## LoadModule

Syntax: LoadModule module filename
Context: server config
Status: Experimental
Module: mod_so

The LoadModule directive links in the object file or library filename and adds the module structure named module to the list of active modules. Module is the name of the external variable of type `module` in the file. Example:

> `LoadModule status_module modules/mod_status.so`

loads the module in the modules subdirectory of the ServerRoot.