Adding Modules - Red Hat ENTERPRISE LINUX 4.5.0 Reference Manual

Table of Contents

Advertisement

modules are installed and enabled with the
mod_access mod_actions mod_alias mod_asis mod_auth mod_auth_anon
mod_auth_dbm mod_auth_digest mod_auth_ldap mod_autoindex mod_cache
mod_cern_meta mod_cgi mod_dav mod_dav_fs mod_deflate mod_dir mod_disk_cache
mod_env mod_expires mod_ext_filter mod_file_cache mod_headers mod_imap
mod_include mod_info mod_ldap mod_log_config mod_logio mod_mem_cache
mod_mime mod_mime_magic mod_negotiation mod_proxy mod_proxy_connect
mod_proxy_ftp mod_proxy_http mod_rewrite mod_setenvif mod_speling mod_status
mod_suexec mod_unique_id mod_userdir mod_usertrack mod_vhost_alias
Additionally, the following modules are available by installing additional packages:
mod_auth_kerb mod_auth_mysql mod_auth_pgsql mod_authz_ldap mod_dav_svn
mod_jk2 mod_perl mod_python mod_ssl php

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 online at
http://httpd.apache.org/docs-2.0/dso.html. Or, if the
documentation about DSOs can be found online at http://localhost/manual/mod/.
For the Apache HTTP Server to use a DSO, it must be specified in a
within
/etc/httpd/conf/httpd.conf
must appear within the modules configuration file in the
to
Section 5.12, "
LoadModule
If adding or deleting modules from
restarted, as referred to in
If creating a new module, first install the
the header files, as well as the APache eXtenSion (
the include files and the header files to compile DSOs.
After writing a module, use
source tree. For more information about using the
Apache documentation online at
man page.
Once compiled, put the module in the
line to the
LoadModule
LoadModule <module-name> <path/to/module.so>
httpd
. If the module is provided by a separate package, the line
"
for more information.
http.conf
Section 4, "Starting and Stopping
httpd-devel
/usr/sbin/apxs
http://httpd.apache.org/docs-2.0/dso.html
/usr/lib/httpd/modules/
, using the following structure:
httpd.conf
package in Red Hat Enterprise Linux 4.5.0;:
package is installed,
http-manual
/etc/httpd/conf.d/
, Apache HTTP Server must be reloaded or
".
httpd
package which contains the include files,
/usr/sbin/apxs
to compile the module sources outside the Apache
/usr/sbin/apxs
directory. Then add a
Adding Modules
directive
LoadModule
directory. Refer
) application, which uses
command, refer to the the
as well as the
apxs
181

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ENTERPRISE LINUX 4.5.0 and is the answer not in the manual?

Questions and answers

Table of Contents