|
|
| |
| Introduction
| |
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.
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.
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.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
|
Toll Free 1-866-GSP-4400 • 1-301-464-9363 • service@gsp.com
Copyright © 1994-2016 GSP Services, Inc.
|