Debian Apache2 modules: Appendix 1 – Statically build-in modules
This is the list of the standard apache2 modules that are compiled into the Debian apache2 binary: core, http_core, prefork/worker/perchild, mod_access, mod_auth, mod_log_config, mod_logio, mod_env, mod_setenvif, mod_mime, mod_status, mod_autoindex, mod_negotiation, mod_dir, mod_alias, mod_so.
You can check what modules are built statically in the apache2 binary, by running the command:
apache2 -l
Compiled in modules:
core.c
mod_access.c
mod_auth.c
mod_log_config.c
mod_logio.c
mod_env.c
mod_setenvif.c
worker.c
http_core.c
mod_mime.c
mod_status.c
mod_autoindex.c
mod_negotiation.c
mod_dir.c
mod_alias.c
mod_so.cHere is a short description and the link to the apache docs for each of the modules from above:
core, http_core: Core Apache HTTP Server features that are always available
prefork/worker/perchild: The MPM module (based on the actual MPM installed)
mod_access: Provides access control based on client hostname, IP address, or other characteristics of the client request.
mod_auth: User authentication using text files
mod_log_config: Logging of the requests made to the server
mod_logio: Logging of input and output bytes per request
mod_env: Modifies the environment which is passed to CGI scripts and SSI pages
mod_setenvif: Allows the setting of environment variables based on characteristics of the request
mod_mime: Associates the requested filename’s extensions with the file’s behavior (handlers and filters) and content (mime-type, language, character set and encoding)
mod_status: Provides information on server activity and performance
mod_autoindex: Generates directory indexes, automatically, similar to the Unix ls command or the Win32 dir shell command
mod_negotiation: Provides for content negotiation
mod_dir: Provides for “trailing slash” redirects and serving directory index files
mod_alias: Provides for mapping different parts of the host filesystem in the document tree and for URL redirection
mod_so: Loading of executable code and modules into the server at start-up or restart time
Return to the main page: “Managing Apache2 modules the Debian way”
>

7th May 2007, 14:11
I’ve just installed debian etch and apache2 from standard package but mod_access is not compiled in !!
Nor exist a package to install the shared object version!!
Any tip??
7th May 2007, 16:15
Valerio,
The apache version installed by Etch is 2.2.3 and this compared to v2.0 has a few changes. Particularly for your question mod_access has been renamed to mod_authz_host and to enable on your debian box you only have to run:
a2enmod authz_hostFor more details on the changes in this apache release check out this page: http://httpd.apache.org/docs/2.2/upgrading.html
7th May 2007, 18:03
Doh ! Tnx a lot!
2nd January 2008, 05:59
Hi, i have installed apache2 using the cmd #apt-get install apache2 after which i have choosen to go for worker (mpm) using the cmd #apt-get install apache2-mpm-worker now when i issued the cmd #apache2 -l i get the floowing out-put with few modules
Compiled in modules:
core.c
mod_log_config.c
mod_logio.c
worker.c
http_core.c
mod_so.c
Have i done anything wrong as of which i am getting only few modules ?
2nd January 2008, 14:39
rakesh: there is nothing wrong. The output from my older post used apache 2.0 that was used at that time in debian etch. With the release of 2.2.3 that you are probably using more modules have been moved out of the compiled binary.
- Marius -