From 8df1ca06a5cd71fa22757e7183a4d6e211c61b78 Mon Sep 17 00:00:00 2001 From: Tony Finch Date: Thu, 19 Oct 2000 19:24:51 +0000 Subject: [PATCH] Belatedly update the documentation to include the NameVirtualHost * stuff. This isn't quite a sync with the 1.3 docco because we don't want to mention 1.3 in the 2.0 docs. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86673 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/vhosts/details.html | 9 +- docs/manual/vhosts/examples.html | 291 +++++++++++++++++++++---------- 2 files changed, 211 insertions(+), 89 deletions(-) diff --git a/docs/manual/vhosts/details.html b/docs/manual/vhosts/details.html index f14bd088a5..d481b7ce68 100644 --- a/docs/manual/vhosts/details.html +++ b/docs/manual/vhosts/details.html @@ -69,7 +69,8 @@ results from DNS lookups) are called the vhost's address set.

Unless a NameVirtualHost directive is used for a specific IP address the first vhost with -that address is treated as an IP-based vhost. +that address is treated as an IP-based vhost. The IP address can also +be the wildcard *.

If name-based vhosts should be used a NameVirtualHost directive must appear with the IP address set to be used for the @@ -202,6 +203,11 @@ for the port to which the client sent the request. If there is no matching _default_ vhost the request is served from the main_server. +

If the IP address is not found in the hash table then the match +against the port number may also result in an entry corresponding to a +NameVirtualHost *, which is subsequently handled like +other name-based vhosts. +

If the lookup succeeded (a corresponding list for the IP address was found) the next step is to decide if we have to deal with an IP-based or a name-base vhost. @@ -309,6 +315,7 @@ taken to be a proxy request. _default_ vhost which is your standard Port by default. A wildcard port can be specified (i.e., _default_:*) to catch requests to any available port. + This also applies to NameVirtualHost * vhosts.

  • The main_server is only used to serve a request if the IP address diff --git a/docs/manual/vhosts/examples.html b/docs/manual/vhosts/examples.html index c6e4fcc4bf..d00a38a40b 100644 --- a/docs/manual/vhosts/examples.html +++ b/docs/manual/vhosts/examples.html @@ -18,8 +18,9 @@

    Base configuration

    @@ -34,115 +35,48 @@
    -

    IP-based vhosts only

    +

    Simple name-based vhosting

    +
    -

    Name-based vhosts only

    +

    More complicated name-based vhosts

    + +
    + +

    IP-based vhosts

    + +
    @@ -508,6 +622,7 @@ +
  • Setup: -- 2.50.1