From: Vincent Deffontaines Date: Fri, 27 May 2011 06:14:28 +0000 (+0000) Subject: Fix the NameVirtualHost and examples, by adding a port (:80) after... X-Git-Tag: 2.2.20~53 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95e915ffdf5487b112505edf4a0bb31f5a8ab0b7;p=thirdparty%2Fapache%2Fhttpd.git Fix the NameVirtualHost and examples, by adding a port (:80) after the example IP addresses git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1128161 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/core.html.en b/docs/manual/mod/core.html.en index 2dc3db790bd..b646c2ae1f2 100644 --- a/docs/manual/mod/core.html.en +++ b/docs/manual/mod/core.html.en @@ -2320,10 +2320,10 @@ hosting required directive if you want to configure name-based virtual hosts.

Although addr can be hostname it is recommended - that you always use an IP address, e.g.

+ that you always use an IP address and a port, e.g.

- NameVirtualHost 111.22.33.44 + NameVirtualHost 111.22.33.44:80

With the NameVirtualHost directive you @@ -2374,8 +2374,8 @@ hosting exactly match the argument to the NameVirtualHost directive.

- NameVirtualHost 1.2.3.4
- <VirtualHost 1.2.3.4>
+ NameVirtualHost 1.2.3.4:80
+ <VirtualHost 1.2.3.4:80>
# ...
</VirtualHost>

@@ -3531,7 +3531,7 @@ hostname or IP address

Example

- <VirtualHost 10.1.2.3>
+ <VirtualHost 10.1.2.3:80>
ServerAdmin webmaster@host.example.com
DocumentRoot /www/docs/host.example.com
@@ -3548,7 +3548,7 @@ hostname or IP address IPv6 example is shown below:

- <VirtualHost [2001:db8::a00:20ff:fea7:ccea]>
+ <VirtualHost [2001:db8::a00:20ff:fea7:ccea]:80>
ServerAdmin webmaster@host.example.com
DocumentRoot /www/docs/host.example.com
diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml index e81caee2bbb..3c390f596da 100644 --- a/docs/manual/mod/core.xml +++ b/docs/manual/mod/core.xml @@ -2302,10 +2302,10 @@ hosting href="../vhosts/">name-based virtual hosts.

Although addr can be hostname it is recommended - that you always use an IP address, e.g.

+ that you always use an IP address and a port, e.g.

- NameVirtualHost 111.22.33.44 + NameVirtualHost 111.22.33.44:80

With the NameVirtualHost directive you @@ -2358,8 +2358,8 @@ hosting >NameVirtualHost directive.

- NameVirtualHost 1.2.3.4
- <VirtualHost 1.2.3.4>
+ NameVirtualHost 1.2.3.4:80
+ <VirtualHost 1.2.3.4:80>
# ...
</VirtualHost>
@@ -3487,7 +3487,7 @@ hostname or IP address Example - <VirtualHost 10.1.2.3>
+ <VirtualHost 10.1.2.3:80>
ServerAdmin webmaster@host.example.com
DocumentRoot /www/docs/host.example.com
@@ -3504,7 +3504,7 @@ hostname or IP address IPv6 example is shown below:

- <VirtualHost [2001:db8::a00:20ff:fea7:ccea]>
+ <VirtualHost [2001:db8::a00:20ff:fea7:ccea]:80>
ServerAdmin webmaster@host.example.com
DocumentRoot /www/docs/host.example.com