Apache Modules
VPS v3: Apache 2.x Modules
Apache Modules are code segments that are written to comply with the Apache API specification and can be
loaded into the Apache Web Server . Apache
modules can be loaded in one the following ways.
- Statically loaded in the compiled httpd daemon
- Dynamically loaded in the web server configuration file
This modular design for adding web server features gives web administrators and developers tremendous power
and flexibility. A wide variety of Apache modules have been created supporting all kinds of exciting web
server features. Web server speed and efficiency is improved when using Apache modules since your Virtual
Private Server web server can internally process instruction sets rather than relying on external applications.
For more information about any of the modules listed below, including usage information, see the
Apache Modules Documentation .
Static Apache Modules
The following Apache modules are statically loaded into the VPS v3 Apache Web Server.
http_core.c
mod_env.c
mod_log_config.c
mod_log_agent.c
mod_log_referer.c
mod_mime.c
mod_include.c
mod_autoindex.c
mod_dir.c
mod_cgi.c
mod_imap.c
mod_actions.c
mod_userdir.c
mod_alias.c
mod_access.c
mod_auth.c
mod_auth_dbm.c
mod_so.c
mod_setenvif.c
apache_ssl.c
suexec: enabled;
valid wrapper /usr/local/apache/bin/suexec
Dynamic Apache Modules
Dynamic module support is one of the key features of the Apache Web Server. The ability to dynamically load modules is known as DSO support. DSO allows you to extend the features and capabilities
of Apache by adding the specific module you need, when you need it, without recompiling the web server binary.
A few notable apache modules you may want to use include the following.
We have provided a number of pre-compiled Apache modules for your use. You can load any of these modules in your Apache configuration file by uncommmenting the appropriate line in your /usr/local/apache2/conf/httpd.conf
file and running restart_apache .
#LoadModule authn_dbm_module modules/mod_authn_dbm.so
#LoadModule authn_anon_module modules/mod_authn_anon.so
#LoadModule auth_digest_module modules/mod_auth_digest.so
#LoadModule file_cache_module modules/mod_file_cache.so
#LoadModule cache_module modules/mod_cache.so
#LoadModule disk_cache_module modules/mod_disk_cache.so
#LoadModule ext_filter_module modules/mod_ext_filter.so
#LoadModule charset_lite_module modules/mod_charset_lite.so
#LoadModule deflate_module modules/mod_deflate.so
#LoadModule logio_module modules/mod_logio.so
#LoadModule mime_magic_module modules/mod_mime_magic.so
#LoadModule cern_meta_module modules/mod_cern_meta.so
#LoadModule expires_module modules/mod_expires.so
#LoadModule headers_module modules/mod_headers.so
#LoadModule usertrack_module modules/mod_usertrack.so
#LoadModule unique_id_module modules/mod_unique_id.so
#LoadModule proxy_module modules/mod_proxy.so
#LoadModule proxy_connect_module modules/mod_proxy_connect.so
#LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
#LoadModule proxy_http_module modules/mod_proxy_http.so
#LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
#LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
#LoadModule dav_module modules/mod_dav.so
#LoadModule info_module modules/mod_info.so
#LoadModule dav_fs_module modules/mod_dav_fs.so
#LoadModule vhost_alias_module modules/mod_vhost_alias.so
#LoadModule speling_module modules/mod_speling.so
#LoadModule rewrite_module modules/mod_rewrite.so
NOTE: If you try to load all the modules at the same time you will probably get a resource
error. Simply load the modules you need one at a time.
Compiling Your Own DSO Modules
There are several Apache modules included in the FreeBSD Ports Collection which you can find in the /ports/www/ directory.
Apache 2.2.x supports the APXS (APache eXtenSion) tool. APXS allows you to compile and link your own dynamic shared object (DSO)
Apache Modules. To use APXS, connect to your Virtual Private Server via SSH , su to root ,
and issue the following command:
# /usr/local/apache/bin/apxs OPTIONS MODULE_CODE
Apache v1.3x
Apache Modules are code segments that are written to comply with the Apache API specification and
can be loaded into the Apache Web Server. Apache modules
can be loaded in one the following ways.
- Statically loaded in the compiled httpd daemon
- Dynamically loaded in the web server configuration file
This modular design for adding web server features gives web administrators and developers tremendous
power and flexibility. A wide variety of Apache modules have been created supporting all kinds of
exciting web server features. Web server speed and efficiency is improved when using Apache modules
since your Virtual Private Server web server can internally process instruction sets rather than
relying on external applications.
For more information about any of the modules listed below, including usage information, see the
Apache Modules Documentation.
Static Apache Modules
The following Apache modules are statically loaded into the VPS2 Apache Web Server.
http_core.c
mod_env.c
mod_log_config.c
mod_log_agent.c
mod_log_referer.c
mod_mime.c
mod_include.c
mod_autoindex.c
mod_dir.c
mod_cgi.c
mod_imap.c
mod_actions.c
mod_userdir.c
mod_alias.c
mod_access.c
mod_auth.c
mod_auth_dbm.c
mod_so.c
mod_setenvif.c
apache_ssl.c
suexec: enabled; valid wrapper /usr/local/apache/bin/suexec
Dynamic Apache Modules
Dynamic module support is one of the key features of the Apache Web Server. The ability to
dynamically load modules is known as DSO support. DSO allows you to extend the features and
capabilities of Apache by adding the specific module you need, when you need it, without
recompiling the web server binary.
A few notable apache modules you may want to use include the following.
We have provided a number of pre-compiled Apache modules for your use. You can load any of these
modules in your Apache configuration file by uncommmenting the appropriate line in your
httpd.conf file and running restart_apache.
#LoadModule mmap_static_module libexec/mod_mmap_static.so
#LoadModule vhost_alias_module libexec/mod_vhost_alias.so
#LoadModule mime_magic_module libexec/mod_mime_magic.so
#LoadModule negotiation_module libexec/mod_negotiation.so
#LoadModule status_module libexec/mod_status.so
#LoadModule info_module libexec/mod_info.so
#LoadModule asis_module libexec/mod_asis.so
#LoadModule speling_module libexec/mod_speling.so
#LoadModule rewrite_module libexec/mod_rewrite.so
#LoadModule anon_auth_module libexec/mod_auth_anon.so
#LoadModule db_auth_module libexec/mod_auth_db.so
#LoadModule digest_module libexec/mod_digest.so
#LoadModule proxy_module libexec/libproxy.so
#LoadModule cern_meta_module libexec/mod_cern_meta.so
#LoadModule expires_module libexec/mod_expires.so
#LoadModule headers_module libexec/mod_headers.so
#LoadModule usertrack_module libexec/mod_usertrack.so
#LoadModule perl_module libexec/mod_perl.so
#LoadModule gzip_module libexec/mod_gzip.so
#LoadModule dav_module libexec/mod_dav.so
#LoadModule fastcgi_module libexec/mod_fastcgi.so
#LoadModule auth_mysql_module libexec/mod_auth_mysql.so
#LoadModule auth_pgsql_module libexec/mod_auth_pgsql.so
#LoadModule php4_module libexec/mod_php4-4.3.10.so
NOTE: If you try to load all the modules at the same time you will
probably get a resource error. Simply load the modules you need one at a time.
Compiling Your Own DSO Modules
There are several Apache modules included in the FreeBSD
Ports Collection which you can find in the /ports/www/ directory.
Apache 1.3 also supports the APXS
(APache eXtenSion) tool. APXS allows you to compile and link your own dynamic shared object (DSO)
Apache Modules. To use APXS, connect to your Virtual Private Server via
SSH,
su to root, and issue the following
command.
# /usr/local/apache/bin/apxs OPTIONS MODULE_CODE

|