154
Chapter 10. Apache HTTP Server
mod_dav_fs.so
mod_vhost_alias.so
mod_negotiation.so
mod_dir.so
mod_imap.so
mod_actions.so
mod_speling.so
mod_userdir.so
mod_alias.so
mod_rewrite.so
mod_proxy.so
mod_proxy_ftp.so
mod_proxy_http.so
mod_proxy_connect.so
mod_cache.so
mod_disk_cache.so
mod_file_cache.so
mod_mem_cache.so
mod_cgi.so
Additionally, the following modules are available by installing additional packages:
mod_auth_mysql
mod_auth_pgsql
mod_perl
mod_python
mod_ssl
php
10.7. Adding Modules
The Apache HTTP Server supports Dynamically Shared Objects (DSOs) or modules, which can easily
be loaded at runtime as necessary.
The Apache Project provides complete DSO Documentation at online http://httpd.apache.org/docs-
2.0/dso.html. Or, if the
package is installed, documentation about DSOs can be found
http-manual
online at http://localhost/manual/mod/.
For the Apache HTTP Server to use a DSO, it must be specified in a
directive within
LoadModule
; if the module is provided by a separate package, the line must
/etc/httpd/conf/httpd.conf
appear within the modules configuration file in the
directory. Refer to Section
/etc/httpd/conf.d/
10.5.12
for more about the
directive.
LoadModule
LoadModule
If adding or deleting modules from
, Apache HTTP Server must be reloaded or restarted,
http.conf
as covered in Section 10.4 Starting and Stopping
.
httpd
If creating a new module, first install the
package as it contains the include files, the
httpd-devel
header files, as well as the APache eXtenSion (
) application, which uses the include
/usr/sbin/apxs
files and the header files to compile DSOs.
After writing a module, use
to compile the module sources outside the Apache
/usr/sbin/apxs
source tree. For more information about using the
command, refer to the the
/usr/sbin/apxs
Apache documentation online at http://httpd.apache.org/docs-2.0/dso.html and the
man page.
apxs
Once compiled, put the module in the
directory. Then add a
/usr/lib/httpd/modules/
line to the
, using the following structure:
LoadModule
httpd.conf
LoadModule
module-name
path/to/module.so
Need help?
Do you have a question about the ENTERPRISE LINUX 3 and is the answer not in the manual?
Questions and answers