From: Justin Erenkrantz Date: Fri, 19 Oct 2001 05:47:07 +0000 (+0000) Subject: Remove references to Port X-Git-Tag: 2.0.27~84 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c0d21b9026bac3240afba844aff8d3f9f056d12e;p=apache Remove references to Port Clean up formatting that may have been caused by htmltidy? git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91564 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/vhosts/details.html b/docs/manual/vhosts/details.html index d8410d9eb6..24da6ad406 100644 --- a/docs/manual/vhosts/details.html +++ b/docs/manual/vhosts/details.html @@ -38,7 +38,7 @@ sections.

The directives Port, Listen, ServerName, ServerPath, @@ -48,18 +48,15 @@ each appearance overrides the previous appearance (within that server).

-

The default value of the Port field for +

The default value of the Listen field for main_server is 80. The main_server has no default ServerPath, or ServerAlias. The default ServerName is deduced from the servers IP address.

-

The main_server Port directive has two functions due to - legacy compatibility with NCSA configuration files. One +

The main_server Listen directive has two functions. One function is to determine the default network port Apache will - bind to. This default is overridden by the existence of any Listen - directives. The second function is to specify the port number + bind to. The second function is to specify the port number which is used in absolute URIs during redirects.

Unlike the main_server, vhost ports do not affect @@ -68,7 +65,7 @@

Each address appearing in the VirtualHost directive can have an optional port. If the port is unspecified it defaults to the value of the main_server's most recent - Port statement. The special port * + Listen statement. The special port * indicates a wildcard that matches any port. Collectively the entire set of addresses (including multiple A record results from DNS lookups) are called the vhost's @@ -102,23 +99,23 @@ | NameVirtualHost 111.22.33.44 | <VirtualHost 111.22.33.44> <VirtualHost 111.22.33.44> | # server A - # server A | </VirtualHost> - ... | <VirtualHost 111.22.33.55> - </VirtualHost> | # server C + # server A | </VirtualHost> + ... | <VirtualHost 111.22.33.55> + </VirtualHost> | # server C <VirtualHost 111.22.33.44> | ... - # server B | </VirtualHost> - ... | <VirtualHost 111.22.33.44> - </VirtualHost> | # server B + # server B | </VirtualHost> + ... | <VirtualHost 111.22.33.44> + </VirtualHost> | # server B | ... NameVirtualHost 111.22.33.55 | </VirtualHost> <VirtualHost 111.22.33.55> | <VirtualHost 111.22.33.55> - # server C | # server D - ... | ... - </VirtualHost> | </VirtualHost> + # server C | # server D + ... | ... + </VirtualHost> | </VirtualHost> <VirtualHost 111.22.33.55> | - # server D | NameVirtualHost 111.22.33.44 - ... | NameVirtualHost 111.22.33.55 - </VirtualHost> | + # server D | NameVirtualHost 111.22.33.44 + ... | NameVirtualHost 111.22.33.55 + </VirtualHost> | | @@ -126,7 +123,7 @@ prefer the left variant.)

After parsing the VirtualHost directive, the - vhost server is given a default Port equal to the + vhost server is given a default Listen equal to the port assigned to the first name in its VirtualHost directive.

@@ -134,7 +131,7 @@ directive are treated just like a ServerAlias (but are not overridden by any ServerAlias statement) if all names resolve to the same address set. Note that - subsequent Port statements for this vhost will not + subsequent Listen statements for this vhost will not affect the ports assigned in the address set.

During initialization a list for each IP address is @@ -332,7 +329,7 @@ request is only caught if the port number to which the client sent the request matches the port number of your _default_ vhost which is your standard - Port by default. A wildcard port can be + Listen by default. A wildcard port can be specified (i.e., _default_:*) to catch requests to any available port. This also applies to NameVirtualHost * vhosts.