Building dynamic modules on Windows systems: IBM HTTP Server
Programming IBM HTTP Server documentation
Pertains to Windows users

Building dynamic modules on Windows operating systems

This section provides information on building dynamic modules on Windows operating systems. This information includes identifying source files, building a module and identifying restrictions. Links to related topics appear at the end of this section.

 

To write a module that works with the server for Windows operating systems, use the header files included when you install the IBM HTTP Server. See Building dynamic shared object modules or dynamic link libraries with the IBM HTTP Server for more detailed information.

Identifying source files included in the installation

Installing the source code also creates an src directory in the server root directory. This directory contains the following directories:

  • include: Contains the majority of header files used to create the IBM binary distribution of the Web server.
  • os\win32: Contains platform-specific includes for the Windows platform distribution of the Web server.
  • src\lib: Contains the libraries. Linking to these libraries enables your module to run with the binary distribution of the IBM HTTP Server.

Building a module

To build a module:

  1. Add the src\include directory to your list of include paths.
  2. Link with the libraries, found in the src\lib directory.

Identifying restrictions

The following restrictions apply, when building a module to run with the IBM HTTP Server:

  1. You must link against the binary libraries installed by the server installation program in the src\lib directory.
  2. You must use the header files supplied by the server installation program in the src\include directory.
  3. You cannot modify or add fields to the header files in the src\include directory.
 
Finding related information

     (Back to the top)