Apache HTTP Server Version 2.4
Description: | Provides for dynamically configured mass virtual hosting |
---|---|
Status: | Extension |
Module Identifier: | vhost_alias_module |
Source File: | mod_vhost_alias.c |
This module creates dynamically configured virtual hosts, by
allowing the IP address and/or the Host:
header of
the HTTP request to be used as part of the pathname to
determine what files to serve. This allows for easy use of a
huge number of virtual hosts with similar configurations.
If mod_alias
or mod_userdir
are
used for translating URIs to filenames, they will override the
directives of mod_vhost_alias
described below. For
example, the following configuration will map
/cgi-bin/script.pl
to
/usr/local/apache2/cgi-bin/script.pl
in all cases:
ScriptAlias "/cgi-bin/" "/usr/local/apache2/cgi-bin/" VirtualScriptAlias "/never/found/%0/cgi-bin/"