diff options
author | Eric Covener <covener@apache.org> | 2012-03-16 10:45:34 +0100 |
---|---|---|
committer | Eric Covener <covener@apache.org> | 2012-03-16 10:45:34 +0100 |
commit | 3812e76b45ad569a9fea0ce1a7076acea659772b (patch) | |
tree | 0ac8c307f798f1b688d673628288e399dbb090cb /docs/manual/vhosts/name-based.html.en | |
parent | fix a misleading example that implies ServerName has precedence over a Server... (diff) | |
download | apache2-3812e76b45ad569a9fea0ce1a7076acea659772b.tar.xz apache2-3812e76b45ad569a9fea0ce1a7076acea659772b.zip |
xforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1301399 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | docs/manual/vhosts/name-based.html.en | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/manual/vhosts/name-based.html.en b/docs/manual/vhosts/name-based.html.en index 001c32a234..70f17899fa 100644 --- a/docs/manual/vhosts/name-based.html.en +++ b/docs/manual/vhosts/name-based.html.en @@ -118,7 +118,7 @@ <span class="indent"> # This first-listed virtual host is also the default for *:80 ServerName www.example.com<br /> - ServerAlias example.com *.example.com<br /> + ServerAlias example.com <br /> DocumentRoot /www/domain<br /> </span> </VirtualHost><br /> @@ -153,6 +153,10 @@ first have your DNS server properly configured to map those names to an IP address associated with your server.</p> + <p>Name-based virtual hosts for the best-matching set of <code class="directive"><a href="../mod/core.html#virtualhost"><virtualhost></a></code>s are processsed + in the order they appear in the configuration. The first matching <code class="directive"><a href="../mod/core.html#servername">ServerName</a></code> or <code class="directive"><a href="../mod/core.html#serveralias">ServerAlias</a></code> is used, with no different precedence for wildcards + (nor for ServerName vs. ServerAlias). </p> + <p>Finally, you can fine-tune the configuration of the virtual hosts by placing other directives inside the <code class="directive"><a href="../mod/core.html#virtualhost"><VirtualHost></a></code> containers. Most directives can be placed in these containers and will then change the configuration only of |