From 0888f88b4c4730aae71453d8b74add22baf5afff Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Malo?= Date: Thu, 19 Sep 2002 21:25:21 +0000 Subject: [PATCH] add a note, that mod_alias and mod_userdir are forced to be run before mod_vhost_alias Reviewed by: Joshua Slive git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96917 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/mod_vhost_alias.html.en | 19 +++++++++++++++---- docs/manual/mod/mod_vhost_alias.xml | 25 ++++++++++++++++++------- 2 files changed, 33 insertions(+), 11 deletions(-) diff --git a/docs/manual/mod/mod_vhost_alias.html.en b/docs/manual/mod/mod_vhost_alias.html.en index 30a432ee66..da51f6b026 100644 --- a/docs/manual/mod/mod_vhost_alias.html.en +++ b/docs/manual/mod/mod_vhost_alias.html.en @@ -10,16 +10,27 @@ hostingStatus: ExtensionModule Identifier: vhost_alias_moduleSource File: mod_vhost_alias.c

Summary

-

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.

- - + +

Note

+

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/ +

+

Directives

Topics

See also

top

Directory Name Interpolation

+ virtual hosting
top

Directory Name Interpolation

All the directives in this module interpolate a string into diff --git a/docs/manual/mod/mod_vhost_alias.xml b/docs/manual/mod/mod_vhost_alias.xml index c2b91159be..2aa0f27d39 100644 --- a/docs/manual/mod/mod_vhost_alias.xml +++ b/docs/manual/mod/mod_vhost_alias.xml @@ -11,19 +11,30 @@ hosting vhost_alias_module

-

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.

- - + + Note +

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/ +
+
- UseCanonicalName - Dynamically configured mass -virtual hosting + +UseCanonicalName +Dynamically configured mass + virtual hosting
Directory Name Interpolation -- 2.40.0