Dynamically Configured Mass Virtual Hosting

Dynamically Configured Mass Virtual Hosting This document describes how to efficiently serve an arbitrary number of virtual hosts with the Apache HTTP Server. A separate document discusses using mod_rewrite to create dynamic mass virtual hosts. Motivation The techniques described here are of interest if your httpd.conf contains many <VirtualHost> sections that are substantially the same, for example: <VirtualHost 111.22.33.44> ServerName customer-1.example.

mod_session_crypto

Apache Module mod_session_crypto Description: Session encryption support Status: Experimental ModuleIdentifier: session_crypto_module SourceFile: mod_session_crypto.c Compatibility: Available in Apache 2.3 and later Summary Warning The session modules make use of HTTP cookies, and as such can fall victim to Cross Site Scripting attacks, or expose potentially private information to clients. Please ensure that the relevant risks have been taken into account before enabling the session functio

VirtualHost Examples

VirtualHost Examples This document attempts to answer the commonly-asked questions about setting up virtual hosts. These scenarios are those involving multiple web sites running on a single server, via name-based or IP-based virtual hosts. Running several name-based web sites on a single IP address. Your server has multiple hostnames that resolve to a single address, and you want to respond differently for www.example.com and www.example.org. Note Creating virtual host configurations on

mod_sed

Apache Module mod_sed Description: Filter Input (request) and Output (response) content using sed syntax Status: Experimental ModuleIdentifier: sed_module SourceFile: mod_sed.c sed0.c sed1.c regexp.c regexp.h sed.h Compatibility: Available in Apache 2.3 and later Summary mod_sed is an in-process content filter. The mod_sed filter implements the sed editing commands implemented by the Solaris 10 sed program as described in the manual page. However, unlike sed, mod_sed doesn't take data from

mod_reqtimeout

Apache Module mod_reqtimeout Description: Set timeout and minimum data rate for receiving requests Status: Extension ModuleIdentifier: reqtimeout_module SourceFile: mod_reqtimeout.c Compatibility: Available in Apache HTTPD 2.2.15 and later Examples Allow 10 seconds to receive the request including the headers and 30 seconds for receiving the request body: RequestReadTimeout header=10 body=30 Allow at least 10 seconds to receive the request body. If the client sends data, increase the tim

mod_authn_dbd

Apache Module mod_authn_dbd Description: User authentication using an SQL database Status: Extension ModuleIdentifier: authn_dbd_module SourceFile: mod_authn_dbd.c Compatibility: Available in Apache 2.1 and later Summary This module provides authentication front-ends such as mod_auth_digest and mod_auth_basic to authenticate users by looking up users in SQL tables. Similar functionality is provided by, for example, mod_authn_file. This module relies on mod_dbd to specify the backend database

mod_lbmethod_byrequests

Apache Module mod_lbmethod_byrequests Description: Request Counting load balancer scheduler algorithm for mod_proxy_balancer Status: Extension ModuleIdentifier: lbmethod_byrequests_module SourceFile: mod_lbmethod_byrequests.c Compatibility: Split off from mod_proxy_balancer in 2.3 Summary This module does not provide any configuration directives of its own. It requires the services of mod_proxy_balancer, and provides the byrequests load balancing method.. Request Counting Algorithm Enab

Content Negotiation

Content Negotiation Apache HTTPD supports content negotiation as described in the HTTP/1.1 specification. It can choose the best representation of a resource based on the browser-supplied preferences for media type, languages, character set and encoding. It also implements a couple of features to give more intelligent handling of requests from browsers that send incomplete negotiation information. Content negotiation is provided by the mod_negotiation module, which is compiled in by default.

mod_deflate

Apache Module mod_deflate Description: Compress content before it is delivered to the client Status: Extension ModuleIdentifier: deflate_module SourceFile: mod_deflate.c Summary The mod_deflate module provides the DEFLATE output filter that allows output from your server to be compressed before being sent to the client over the network. Supported Encodings The gzip encoding is the only one supported to ensure complete compatibility with old browser implementations. The deflate encoding i

Name-based Virtual Host

Name-based Virtual Host Support This document describes when and how to use name-based virtual hosts. Name-based vs. IP-based Virtual Hosts IP-based virtual hosts use the IP address of the connection to determine the correct virtual host to serve. Therefore you need to have a separate IP address for each host. With name-based virtual hosting, the server relies on the client to report the hostname as part of the HTTP headers. Using this technique, many different hosts can share the same IP