FREE THOUGHT · FREE SOFTWARE · FREE WORLD

Home » Hosting » Apache Directives and Modules on DreamHost

by comment

For those of you web insiders smart enough to be using DreamHost, here's a list of available modules and directives allowed. They should help you utilize all the incredible features available on the Apache 2 install. See the Directive Quick Reference for detailed .htaccess directive info, or Apache Module Reference for module information.

Contents [hide]

Available Modules on DreamHosts Apache 2 Servers

mod_access
Provides access control based on client hostname, IP address, or other characteristics of the client request.
mod_actions
This module provides for executing CGI scripts based on media type or request method.
mod_alias
Provides for mapping different parts of the host filesystem in the document tree and for URL redirection
mod_asis
Sends files that contain their own HTTP headers
mod_auth
User authentication using text files
mod_auth_anon
Allows "anonymous" user access to authenticated areas
mod_auth_dbm
Provides for user authentication using DBM files
mod_auth_digest
User authentication using MD5 Digest Authentication.
mod_auth_mysql
MySQL-based authentication module with VirtualHost support (you need only one database for all VirtualHosts), now with SSL Support for the Connection to the MySQL-Server
mod_auth_svn
This module grabs the various opaque URLs passing from client to server, asks mod_dav_svn to decode them, and then possibly vetoes requests based on access policies defined in a configuration file.
mod_autoindex
Generates directory indexes, automatically, similar to the Unix ls command or the Win32 dir shell command
mod_cache
Content cache keyed to URIs.
mod_cband
mod_cband is an Apache 2 module provided to solve the problem of limiting users' and virtualhosts' bandwidth usage. The current versions can set virtualhosts' and users' bandwidth quotas, maximal download speed (like in mod_bandwidth), requests-per-second speed and the maximal number of simultanous IP connections (like in mod_limitipconn)
mod_cern_meta
CERN httpd metafile semantics
mod_cgi
Execution of CGI scripts
mod_dav
Distributed Authoring and Versioning (WebDAV) functionality
mod_dav_fs
filesystem provider for mod_dav
mod_dav_svn
Serving Subversion repositories through Apache HTTP Server.
mod_deflate
Compress content before it is delivered to the client
mod_dir
Provides for "trailing slash" redirects and serving directory index files
mod_encoding
For non-ascii filename interoperability. This module improves non-ascii filename interoperability of apache (and mod_dav). It seems many WebDAV clients send filename in their platform-local encoding. But since mod_dav expects everything, even HTTP request line, to be in UTF-8, this causes an interoperability problem.
mod_env
Modifies the environment which is passed to CGI scripts and SSI pages
mod_expires
Generation of Expires and Cache-Control HTTP headers according to user-specified criteria
mod_ext_filter
Pass the response body through an external program before delivery to the client
mod_fastcgi
This 3rd party module provides support for the FastCGI protocol. FastCGI is a language independent, scalable, open extension to CGI that provides high performance and persistence without the limitations of server specific APIs.
mod_fcgid
A binary compatibility alternative to Apache module mod_fastcgi. mod_fcgid has a new process management strategy, which concentrates on reducing the number of fastcgi server, and kick out the corrupt fastcgi server as soon as possible.
mod_headers
Customization of HTTP request and response headers
mod_imap
Server-side imagemap processing
mod_include
Server-parsed html documents (Server Side Includes)
mod_info
Provides a comprehensive overview of the server configuration
mod_limitipconn
Limits the maximum number of simultaneous connections per IP address. Allows inclusion and exclusion of files based on MIME type.
mod_log_config
Logging of the requests made to the server
mod_log_forensic
Forensic Logging of the requests made to the server
mod_logio
Logging of input and output bytes per request
mod_mime
Associates the requested filename's extensions with the file's handlers and filters and mime-type, language, character set and encoding
mod_mime_magic
Determines the MIME type of a file by looking at a few bytes of its contents
mod_negotiation
Provides for content negotiation
mod_rewrite
Provides a rule-based rewriting engine to rewrite requested URLs on the fly
mod_security
HTTP Traffic Logging, Real-Time Attack monitoring and detection, Attack Prevention and just-in-time patching
mod_setenvif
Allows the setting of environment variables based on characteristics of the request
mod_speling
Attempts to correct mistaken URLs that users might have entered by ignoring capitalization and by allowing up to one misspelling
mod_ssl
Strong cryptography using the Secure Sockets Layer (SSL) and Transport Layer Security (TLS) protocols
mod_status
Provides information on server activity and performance
mod_suexec
Allows CGI scripts to run as a specified user and Group
mod_unique_id
Provides an environment variable with a unique identifier for each request
mod_userdir
User-specific directories
mod_usertrack
Clickstream logging of user activity on a site
mod_vhost_alias
Provides for dynamically configured mass virtual hosting

This list goes in order of which module was loaded first. This is important to know sometimes. At any rate these are the available modules for DreamHost Apache 2 Servers

  • mod_access
  • mod_actions
  • mod_alias
  • mod_asis
  • mod_auth
  • mod_auth_anon
  • mod_auth_dbm
  • mod_auth_digest
  • mod_auth_mysql
  • mod_authz_svn
  • mod_autoindex
  • mod_cache
  • mod_cband
  • mod_cern_meta
  • mod_cgi
  • mod_dav
  • mod_dav_fs
  • mod_dav_svn
  • mod_deflate
  • mod_dir
  • mod_encoding
  • mod_env
  • mod_expires
  • mod_ext_filter
  • mod_fastcgi
  • mod_fcgid
  • mod_headers
  • mod_imap
  • mod_include
  • mod_info
  • mod_limitipconn
  • mod_log_config
  • mod_log_forensic
  • mod_logio
  • mod_mime
  • mod_mime_magic
  • mod_negotiation
  • mod_rewrite
  • mod_security
  • mod_setenvif
  • mod_speling
  • mod_ssl
  • mod_status
  • mod_suexec
  • mod_unique_id
  • mod_userdir
  • mod_usertrack
  • mod_vhost_alias
  1. security_module
  2. access_module
  3. auth_module
  4. auth_anon_module
  5. auth_dbm_module
  6. auth_digest_module
  7. cache_module
  8. ext_filter_module
  9. include_module
  10. deflate_module
  11. log_config_module
  12. log_forensic_module
  13. logio_module
  14. env_module
  15. mime_magic_module
  16. cern_meta_module
  17. expires_module
  18. headers_module
  19. usertrack_module
  20. unique_id_module
  21. setenvif_module
  22. mime_module
  23. dav_module
  24. status_module
  25. autoindex_module
  26. asis_module
  27. info_module
  28. suexec_module
  29. cgi_module
  30. dav_fs_module
  31. vhost_alias_module
  32. negotiation_module
  33. dir_module
  34. imap_module
  35. actions_module
  36. speling_module
  37. userdir_module
  38. alias_module
  39. rewrite_module

Available Configuration Directives

LEGEND
D-<Directory>, F-<Files> or L-<Location>

Directory core.c

Container for directives affecting resources located in the specified directories.

Location core.c

Container for directives affecting resources accessed through the specified URL paths.

VirtualHost core.c

Container to map directives to a particular virtual host, takes one or more host addresses.

Files core.c

Container for directives affecting files matching specified patterns. Allowed in httpd.conf and .htaccess

Limit core.c

Container for authentication directives when accessed using specified HTTP methods. Allowed in httpd.conf and .htaccess

LimitExcept core.c

Container for authentication directives to be applied when any HTTP method other than those specified is used to access the resource. Allowed in httpd.conf and .htaccess

IfModule core.c

Container for directives based on existance of specified modules. Allowed in httpd.conf and .htaccess

IfDefine core.c

Container for directives based on existance of command line defines. Allowed in httpd.conf and .htaccess

DirectoryMatch core.c

Container for directives affecting resources located in the specified directories.

LocationMatch core.c

Container for directives affecting resources accessed through the specified URL paths.

FilesMatch core.c

Container for directives affecting files matching specified patterns. Allowed in httpd.conf and .htaccess

AuthType core.c

An HTTP authorization type (e.g., "Basic"). Allowed in httpd.conf inside D, F, and L, also in .htaccess

AuthName core.c

The authentication realm (e.g. "Members Only"). Allowed in httpd.conf inside D, F, and L, also in .htaccess

Require core.c

Selects which authenticated users or groups may access a protected space. Allowed in httpd.conf inside D, F, and L, also in .htaccess

Satisfy core.c

access policy if both allow and require used ('all' or 'any'). Allowed in httpd.conf inside D, F, and L, also in .htaccess

AddDefaultCharset core.c

The name of the default charset to add to any Content-Type without one or 'Off' to disable. Allowed in httpd.conf and .htaccess

AcceptPathInfo core.c

Set to on or off for PATH_INFO to be accepted by handlers, or default for the per-handler preference. Allowed in httpd.conf and .htaccess

AccessFileName core.c

Name(s) of per-directory config files (default: .htaccess).

DocumentRoot core.c

Root directory of the document tree.

ErrorDocument core.c

Change responses for HTTP errors. Allowed in httpd.conf and .htaccess

AllowOverride core.c

Controls what groups of directives can be configured by per-directory config files. Allowed in httpd.conf inside D, F, and L

Options core.c

Set a number of attributes for a given directory. Allowed in httpd.conf and .htaccess

DefaultType core.c

the default MIME type for untypable files. Allowed in httpd.conf and .htaccess

FileETag core.c

Specify components used to construct a file's ETag. Allowed in httpd.conf and .htaccess

EnableMMAP core.c

Controls whether memory-mapping may be used to read files. Allowed in httpd.conf and .htaccess

EnableSendfile core.c

Controls whether sendfile may be used to transmit files. Allowed in httpd.conf and .htaccess

Port core.c

Port was replaced with Listen in Apache 2.0.

HostnameLookups core.c

"on" to enable, "off" to disable reverse DNS lookups, or "double" to enable double-reverse DNS lookups. Allowed in httpd.conf anywhere

ServerAdmin core.c

The email address of the server administrator.

ServerName core.c

The hostname and port of the server.

ServerSignature core.c

En-/disable server signature (on|off|email). Allowed in httpd.conf and .htaccess

ServerRoot core.c

Common directory of server-related files (logs, confs, etc.).

ErrorLog core.c

The filename of the error log.

ServerAlias core.c

A name or names alternately used to access the server.

ServerPath core.c

The pathname the server can be reached at.

Timeout core.c

Timeout duration (sec).

IdentityCheck core.c

Enable identd (RFC 1413) user lookups - SLOW. Allowed in httpd.conf anywhere

ContentDigest core.c

whether or not to send a Content-MD5 header with each request. Allowed in httpd.conf and .htaccess

UseCanonicalName core.c

How to work out the ServerName : Port when constructing URLs. Allowed in httpd.conf anywhere

Include core.c

Name of the config file to be included. Allowed in httpd.conf anywhere

LogLevel core.c

Level of verbosity in error logging.

NameVirtualHost core.c

A numeric IP address:port, or the name of a host.

ServerTokens core.c

Determine tokens displayed in the Server: header - Min(imal), OS or Full.

LimitRequestLine core.c

Limit on maximum size of an HTTP request line.

LimitRequestFieldsize core.c

Limit on maximum size of an HTTP request header field.

LimitRequestFields core.c

Limit (0 = unlimited) on max number of header fields in a request message.

LimitRequestBody core.c

Limit (in bytes) on maximum size of request message body. Allowed in httpd.conf and .htaccess

LimitXMLRequestBody core.c

Limit (in bytes) on maximum size of an XML-based request body. Allowed in httpd.conf and .htaccess

RLimitCPU core.c

Soft/hard limits for max CPU usage in seconds. Allowed in httpd.conf and .htaccess

RLimitMEM core.c

Soft/hard limits for max memory usage per process. Allowed in httpd.conf and .htaccess

RLimitNPROC core.c

soft/hard limits for max number of processes per uid. Allowed in httpd.conf and .htaccess

LimitInternalRecursion core.c

maximum recursion depth of internal redirects and subrequests.

ForceType core.c

a mime type that overrides other configured type. Allowed in httpd.conf and .htaccess

SetHandler core.c

a handler name that overrides any other configured handler. Allowed in httpd.conf and .htaccess

SetOutputFilter core.c

filter (or ; delimited list of filters) to be run on the request content. Allowed in httpd.conf and .htaccess

SetInputFilter core.c

filter (or ; delimited list of filters) to be run on the request body. Allowed in httpd.conf and .htaccess

AddOutputFilterByType core.c

output filter name followed by one or more content-types. Allowed in httpd.conf and .htaccess

AllowEncodedSlashes core.c

Allow URLs containing '/' encoded as '%2F'.

PidFile core.c

A file for logging the server process ID.

ScoreBoardFile core.c

A file for Apache to maintain runtime process management information.

LockFile core.c

The lockfile used when Apache needs to lock the accept() call.

MaxRequestsPerChild core.c

Maximum number of requests a particular child serves before dying.

CoreDumpDirectory core.c

The location of the directory Apache changes to before dumping core.

AcceptMutex core.c

Valid accept mutexes for this platform and MPM are: default, flock, fcntl, sysvsem.

MaxMemFree core.c

Maximum number of 1k blocks a particular childs allocator may hold.

User prefork.c

Effective user id for this server.

Group prefork.c

Effective group id for this server.

ListenBacklog prefork.c

Maximum length of the queue of pending connections, as used by listen(2).

SetInputFilter core.c

filter (or ; delimited list of filters) to be run on the request body. Allowed in httpd.conf and .htaccess

AddOutputFilterByType core.c

output filter name followed by one or more content-types. Allowed in httpd.conf and .htaccess

AllowEncodedSlashes core.c

Allow URLs containing '/' encoded as '%2F'.

PidFile core.c

A file for logging the server process ID.

ScoreBoardFile core.c

A file for Apache to maintain runtime process management information.

LockFile core.c

The lockfile used when Apache needs to lock the accept() call.

MaxRequestsPerChild core.c

Maximum number of requests a particular child serves before dying.

CoreDumpDirectory core.c

The location of the directory Apache changes to before dumping core.

AcceptMutex core.c

Valid accept mutexes for this platform and MPM are: default, flock, fcntl, sysvsem.

MaxMemFree core.c

Maximum number of 1k blocks a particular childs allocator may hold.

User prefork.c

Effective user id for this server.

Group prefork.c

Effective group id for this server.

ListenBacklog prefork.c

Maximum length of the queue of pending connections, as used by listen(2).

Listen prefork.c

A port number or a numeric IP address and a port number.

SendBufferSize prefork.c

Send buffer size in bytes.

StartServers prefork.c

Number of child processes launched at server startup.

MinSpareServers prefork.c

Minimum number of idle children, to handle request spikes.

MaxSpareServers prefork.c

Maximum number of idle children.

MaxClients prefork.c

Maximum number of children alive at the same time.

ServerLimit prefork.c

Maximum value of MaxClients for this run of Apache.

KeepAliveTimeout http_core.c

Keep-Alive timeout duration (sec).

MaxKeepAliveRequests http_core.c

Maximum number of Keep-Alive requests per connection, or 0 for infinite.

KeepAlive http_core.c

Whether persistent connections should be On or Off.

LoadModule mod_so.c

a module name and the name of a shared object file to load it from.

LoadFile mod_so.c

shared object file or library to load into the server at runtime.

Tags

Comments Welcome

Information is freedom. Freedom is non-negotiable. So please feel free to modify, copy, republish, sell, or use anything on this site in any way at any time ;)

My Online Tools

Popular Articles
Hacking and Hackers

The use of "hacker" to mean "security breaker" is a confusion on the part of the mass media. We hackers refuse to recognize that meaning, and continue using the word to mean someone who loves to program, someone who enjoys playful cleverness, or the combination of the two.
-- Richard M. Stallman


It's very simple - you read the protocol and write the code. -Bill Joy

Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution 3.0 License, just credit with a link.
This site is not supported or endorsed by The Apache Software Foundation (ASF). All software and documentation produced by The ASF is licensed. "Apache" is a trademark of The ASF. NCSA HTTPd.
UNIX ® is a registered Trademark of The Open Group. POSIX ® is a registered Trademark of The IEEE.

+Askapache | htaccess.io | htaccess.guru

Site Map | Contact Webmaster | License and Disclaimer | Terms of Service | @Htaccess

↑ TOPMain