6.6 Adding an Apache Module to a Server or Group Object

Module objects create an IfModule mod_name.c block in the configuration file. Adding a module to a server group makes it available to all other servers in and below the current object's group. For more information about Apache modules, including those that are unique to NetWare, see Section 5.0, Managing Apache Modules.

When you add a module, you must know the name of its executable file and its module identifier. Before you add a module, refer to its documentation on the Apache Web site. See Module Index on the Apache.org Web site.

  1. In the Objects list, click the server group that you want to add the module to.

  2. In the Choose Action drop-down list, select Add Module, then click Description: Zigzag icon.

  3. In the Add Module dialog box, type a name for the Apache module in the Common Name field.

  4. In the Source File field, type the name of the file that contains the code of the module you are adding. For example: mod_auth_ldap.c.

  5. In the Object File field, type the relative path to the module's executable file, which by default is in the volume:\\apache2\modules directory. For example, type: modules/authldap.nlm.

  6. In the Module Identifier field, type the string that identifies the module you are adding.

    Each Apache module has a module identifier assigned to it. To find out which module identifier to use, look up the module name in the Apache documentation. See Module Index on the Apache.org Web site.

  7. (Optional) To disable the module, select Disable Module.

    When you select Disable Module, the LoadModule statement is not added to the httpd.conf configuration file.

  8. Click OK.