To identify the modules that are compiled statically in your Web server, use the server binary with the -l (lowercase L) option.
For example, in Apache HTTP Server (downloaded from the ASF and compiled), run this command:
$ httpd -list
You see an output similar to:
Compiled in modules:
core.c
prefork.c
http_core.c
mod_so.c
Note: Dynamically loaded modules are added at run-time and are not listed.
With Pivotal Web Server, there are separate binaries for the Worker and prefork MPMs. Also, in PWS, a library path must be set to execute the binary.
To know the statically compiled modules in PWS, run these commands in the appropriate path for the version you are using, such as
/path-of-webserver/httpd-2.2/bin:
$ . ./envvars
$ ./httpd.worker -l
You see an output similar to:
Compiled in modules:
core.c
mod_version.c
worker.c
http_core.c
mod_so.c