You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by nd...@apache.org on 2002/09/19 23:25:22 UTC
cvs commit: httpd-2.0/docs/manual/mod mod_vhost_alias.html.en mod_vhost_alias.xml
nd 2002/09/19 14:25:22
Modified: docs/manual/mod mod_vhost_alias.html.en mod_vhost_alias.xml
Log:
add a note, that mod_alias and mod_userdir are forced
to be run before mod_vhost_alias
Reviewed by: Joshua Slive
Revision Changes Path
1.13 +14 -3 httpd-2.0/docs/manual/mod/mod_vhost_alias.html.en
Index: mod_vhost_alias.html.en
===================================================================
RCS file: /home/cvs/httpd-2.0/docs/manual/mod/mod_vhost_alias.html.en,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- mod_vhost_alias.html.en 18 Sep 2002 23:37:28 -0000 1.12
+++ mod_vhost_alias.html.en 19 Sep 2002 21:25:21 -0000 1.13
@@ -10,16 +10,27 @@
</a></th><td>Extension</td></tr><tr><th><a href="module-dict.html#ModuleIdentifier">Module�Identifier:
</a></th><td>vhost_alias_module</td></tr><tr><th><a href="module-dict.html#SourceFile">Source�File:
</a></th><td>mod_vhost_alias.c</td></tr></table><h3>Summary</h3>
-
<p>This module creates dynamically configured virtual hosts, by
allowing the IP address and/or the <code>Host:</code> 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.</p>
+
+ <div class="note"><h3>Note</h3>
+ <p>If <code class="module"><a href="../mod/mod_alias.html">mod_alias</a></code> or <code class="module"><a href="../mod/mod_userdir.html">mod_userdir</a></code> are
+ used for translating URIs to filenames, they will override the
+ directives of <code class="module"><a href="../mod/mod_vhost_alias.html">mod_vhost_alias</a></code> described below. For
+ example, the following configuration will map <code>
+ /cgi-bin/script.pl</code> to <code>
+ /usr/local/apache2/cgi-bin/script.pl</code> in all cases:</p>
-
+ <div class="example"><p><code>
+ ScriptAlias /cgi-bin/ /usr/local/apache2/cgi-bin/<br />
+ VirtualScriptAlias /never/found/%0/cgi-bin/
+ </code></p></div>
+ </div>
</div><div id="quickview"><h3 class="directives">Directives</h3><ul id="toc"><li><img alt="" src="../images/down.gif" /> <a href="#virtualdocumentroot">VirtualDocumentRoot</a></li><li><img alt="" src="../images/down.gif" /> <a href="#virtualdocumentrootip">VirtualDocumentRootIP</a></li><li><img alt="" src="../images/down.gif" /> <a href="#virtualscriptalias">VirtualScriptAlias</a></li><li><img alt="" src="../images/down.gif" /> <a href="#virtualscriptaliasip">VirtualScriptAliasIP</a></li></ul><h3>Topics</h3><ul id="topics"><li><img alt="" src="../images/down.gif" /> <a href="#interpol">Directory Name Interpolation</a></li><li><img alt="" src="../images/down.gif" /> <a href="#examples">Examples</a></li></ul><h3>See also</h3><ul class="seealso"><li><code class="directive"><a href="../mod/core.html#usecanonicalname">UseCanonicalName</a></code></li><li><a href="../vhosts/mass.html">Dynamically configured mass
-virtual hosting</a></li></ul></div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="section"><h2><a name="interpol" id="interpol">Directory Name Interpolation</a></h2>
+ virtual hosting</a></li></ul></div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="section"><h2><a name="interpol" id="interpol">Directory Name Interpolation</a></h2>
<p>All the directives in this module interpolate a string into
1.6 +17 -6 httpd-2.0/docs/manual/mod/mod_vhost_alias.xml
Index: mod_vhost_alias.xml
===================================================================
RCS file: /home/cvs/httpd-2.0/docs/manual/mod/mod_vhost_alias.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- mod_vhost_alias.xml 18 Sep 2002 23:37:28 -0000 1.5
+++ mod_vhost_alias.xml 19 Sep 2002 21:25:21 -0000 1.6
@@ -11,19 +11,30 @@
<identifier>vhost_alias_module</identifier>
<summary>
-
<p>This module creates dynamically configured virtual hosts, by
allowing the IP address and/or the <code>Host:</code> 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.</p>
+
+ <note><title>Note</title>
+ <p>If <module>mod_alias</module> or <module>mod_userdir</module> are
+ used for translating URIs to filenames, they will override the
+ directives of <module>mod_vhost_alias</module> described below. For
+ example, the following configuration will map <code>
+ /cgi-bin/script.pl</code> to <code>
+ /usr/local/apache2/cgi-bin/script.pl</code> in all cases:</p>
-
+ <example>
+ ScriptAlias /cgi-bin/ /usr/local/apache2/cgi-bin/<br />
+ VirtualScriptAlias /never/found/%0/cgi-bin/
+ </example>
+ </note>
</summary>
- <seealso><directive
- module="core">UseCanonicalName</directive></seealso>
- <seealso><a href="../vhosts/mass.html">Dynamically configured mass
-virtual hosting</a></seealso>
+
+<seealso><directive module="core">UseCanonicalName</directive></seealso>
+<seealso><a href="../vhosts/mass.html">Dynamically configured mass
+ virtual hosting</a></seealso>
<section id="interpol">
<title>Directory Name Interpolation</title>