Apache2/APACHE2 MODULES
From Gentoo Linux Wiki
< Apache2
Note: Due to a technical limitation of MediaWiki, the title appears incorrectly. It should read APACHE2_MODULES.
First time users of Apache may be a little overwhelmed by the sheer number of available modules. This article seeks to provide a short overview of what function each module performs and why you may want to use it.
For a details on each module, read the official Apache 2.2 Module Documentation.
[edit] Configuration
The modules in this list should appear, and may be modified, in /etc/make.conf under APACHE2_MODULES="...". If it is not present, it may simply be added:
echo APACHE2_MODULES=\"...\" >> /etc/make.conf
The following list may be seen by running the command,
emerge -pv apache
This may be more up to date than the following list.
[edit] Module List
- actions: Execute a CGI script based on a request media type or method. This'll let you run Perl scripts.
- alias: Map URL's to different locations on the filesystem. Simple URL redirection.
- asis: Sends files that contain their own HTTP headers.
- auth_basic: Basic authentication. Needs an authn_* module to be useful.
- auth_digest: Username/password authentication using MD5 digests.
- authn_alias: Create extended authentication providers based on actual ones.
- authn_anon: Anonymous access; similar to FTP.
- authn_dbd: Authentication using an SQL database.
- authn_dbm: Authentication using DBM files.
- authn_default: Fallback authentication module, rejects all credentials.
- authn_file: Authentication using plain-text files.
- authz_dbm: Group authorization using DBM files.
- authz_default: Fallback authorization module, rejects all credentials.
- authz_groupfile: Group authorization using plain-text files.
- authz_host: Group authorization using host (name or IP).
- authz_owner: Authorization based on file ownership information.
- authz_user: Authorization based upon user (Require <username>).
- autoindex: Automatic directory indexes (Options +Indexes).
- cache: Content caching, requires a *_cache module to be useful.
- cern_meta: CERN httpd metafile information.
- charset_lite: Experimental. Convert to a specified character set before transmission.
- dav: Enables WebDAV.
- dav_fs: filesystem provider for WebDAV.
- dav_lock: Locking provider for WebDAV.
- dbd: Manages SQL database connections.
- deflate: Compress content before transmission.
- dir: Trailing-slash redirects and directory index files (index.html, et cetera)
- disk_cache: Disk-based caching, used with the cache module.
- dumpio: Dump I/O to the error log.
- env: Modify environment passed to CGI and SSI scripts.
- expires: Controls expires and cache-control headers.
- ext_filter: Pass server output through an external program before transmission.
- file_cache: Cache a static list of files in memory.
- filter: Allows use of output filters (e.g., mod_deflate).
- headers: Customise HTTP request & response headers.
- ident: RFC 1413 IDENT lookups.
- imagemap: Server-side imagemap processing.
- include: Server Side Includes (SSI).
- info: HTTP-accessible overview of server configuration.
- log_config: Basic logging of server requests.
- log_forensic: Forensic logging of server requests.
- logio: I/O logging of server requests.
- mem_cache: Memory-based caching, used with the cache module.
- mime: Associates a filename's extension with its behaviour.
- mime_magic: Determine a MIME type by looking at the file.
- mod_pagespeed: Google apache module pagespeed
- negotiation: Content negotiation.
- proxy: Proxy/gateway server.
- proxy_ajp: AJP support for proxy module.
- proxy_balancer: Load balancing for proxy module.
- proxy_connect: CONNECT support for proxy module.
- proxy_ftp: FTP support for proxy module.
- proxy_http: HTTP support for proxy module.
- rewrite: Advanced URL rewriting engine.
- setenvif: Conditional environment variable setting.
- speling: Attempt to correct misspelled URL's.
- status: HTTP-accessible information on server activity and performance.
- substitute: Perform search-and-replace on output before transmission.
- unique_id: Provide an environment variable with a unique identifier for each request.
- userdir: User-specific directories. (http://www.example.com/~username/)
- usertrack: Clickstream logging of user activity.
- version: Apache version dependent configuration
- vhost_alias: Virtual hosts.