Module mod_so

Important: Information for this topic supports the latest PTF levels for HTTP Server for i5/OS . It is recommended that you install the latest PTFs to upgrade to the latest level of the HTTP Server for i5/OS. Some of the topics documented here are not available prior to this update. See http://www.ibm.com/servers/eserver/iseries/software/http/services/service.htm Link outside Information Center for more information.

Summary

The module mod_so provides for loading of executable code and modules into the HTTP Server at startup or restart time. On the iSeries™ server, the loaded code comes from a service program object with a .SRVPGM extension.

Directive

LoadModule

Module: mod_so
Syntax: LoadModule module filename
Default: none
Context: server config
Override: none
Origin: Apache
Example: LoadModule ibm_ldap_module /QSYS.LIB/QHTTPSVR.LIB/QZSRVLDAP.SRVPGM

The LoadModule directive links in the object file filename and adds the module structure named module to the list of active modules.

Parameter One: module
  • The module parameter is the name of the external variable of type module is the iSeries file.
Parameter Two: filename
  • The filename parameter must be an iSeries service program.

The following example loads ibm_ldap in QZSRVLDAP service program into the current HTTP Server:

LoadModule ibm_ldap_module /QSYS.LIB/QHTTPSVR.LIB/QZSRVLDAP.SRVPGM