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.

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/
#LoadModule authn_anon_module modules/
#LoadModule auth_digest_module modules/
#LoadModule file_cache_module modules/
#LoadModule cache_module modules/
#LoadModule disk_cache_module modules/
#LoadModule ext_filter_module modules/
#LoadModule charset_lite_module modules/
#LoadModule deflate_module modules/
#LoadModule logio_module modules/
#LoadModule mime_magic_module modules/
#LoadModule cern_meta_module modules/
#LoadModule expires_module modules/
#LoadModule headers_module modules/
#LoadModule usertrack_module modules/
#LoadModule unique_id_module modules/
#LoadModule proxy_module modules/
#LoadModule proxy_connect_module modules/
#LoadModule proxy_ftp_module modules/
#LoadModule proxy_http_module modules/
#LoadModule proxy_ajp_module modules/
#LoadModule proxy_balancer_module modules/
#LoadModule dav_module modules/
#LoadModule info_module modules/
#LoadModule dav_fs_module modules/
#LoadModule vhost_alias_module modules/
#LoadModule speling_module modules/
#LoadModule rewrite_module modules/

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