This page describes modules written for hte Apache 2.x web server, available on VPS v3 hosting plans.

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 v2 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.

  • mod_dav
  • mod_negotiation

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 /www/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.x 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

Please note: the information on this page applies to ITS web hosting plans. It may or may not apply to other environments. If you are looking for a feature described here, or better support from your hosting provider, please consider hosting your site with ITS!

1555 N Naperville/Wheaton Road, Suite 107
Naperville, IL 60563
phone 630.420.2550
fax 630.420.2771