From: dgaudet Date: Thu, 20 Mar 1997 23:30:46 +0000 (+0000) Subject: Add documentation for DNS issues (reliability and security), and try X-Git-Tag: APACHE_1_2b8~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a4f009f72d8427be3db5839c2ba58d8946345428;p=apache Add documentation for DNS issues (reliability and security), and try to explain the virtual host matching process. Try to continue gracefully by disabling the vhost if a DNS lookup fails while parsing the configuration file. Reviewed by: Roy, Jim Submitted by: Obtained from: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@77744 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/bind.html b/docs/manual/bind.html index cb1fa0daac..9812613a02 100644 --- a/docs/manual/bind.html +++ b/docs/manual/bind.html @@ -89,7 +89,8 @@ See also the documentation on Virtual Hosts, Non-IP virtual hosts, BindAddress directive, -Port directive +Port directive, +DNS Issues and <VirtualHost> section. diff --git a/docs/manual/bind.html.en b/docs/manual/bind.html.en index cb1fa0daac..9812613a02 100644 --- a/docs/manual/bind.html.en +++ b/docs/manual/bind.html.en @@ -89,7 +89,8 @@ See also the documentation on Virtual Hosts, Non-IP virtual hosts, BindAddress directive, -Port directive +Port directive, +DNS Issues and <VirtualHost> section. diff --git a/docs/manual/mod/core.html b/docs/manual/mod/core.html index 6cd78d1f28..8a669e1416 100644 --- a/docs/manual/mod/core.html +++ b/docs/manual/mod/core.html @@ -245,6 +245,8 @@ This option can be used as an alternative method for supporting <VirtualHost> sections.

See Also: +DNS Issues
+See Also: Setting which addresses and ports Apache uses


@@ -620,7 +622,9 @@ address or port; by default it responds to requests on all IP interfaces, but only on the port given by the Port directive.

-

See Also: +

See Also: +DNS Issues
+See Also: Setting which addresses and ports Apache uses


@@ -1105,8 +1109,10 @@ as users do not always mention that they are talking about the server!


The ServerAlias directive sets the alternate names for a host, for use with Host-header based virtual hosts. +

See Also: +In-depth description of Virtual Host matching

-


+

ServerName directive

@@ -1120,7 +1126,10 @@ server attempts to deduce it from its own IP address; however this may not work reliably, or may not return the preferred hostname. For example:
ServerName www.wibble.com
would be used if the canonical (main) name of the actual machine -were monster.wibble.com.


+were monster.wibble.com.

+

See Also: +DNS Issues

+

ServerPath directive

@@ -1132,6 +1141,8 @@ were monster.wibble.com.


The ServerPath directive sets the legacy URL pathname for a host, for use with Host-header based virtual hosts. +

See Also: +In-depth description of Virtual Host matching


ServerRoot directive

@@ -1260,12 +1271,14 @@ dangers are.


<VirtualHost> directive

-Syntax: <VirtualHost addr[:port]> ... +Syntax: <VirtualHost addr[:port] ...> ... </VirtualHost>
Context: server config
Status: Core.
-Compatibility: Non-IP address-based Virtual Hosting is -only available in Apache 1.2 and later.

+Compatibility: Non-IP address-based Virtual Hosting only +available in Apache 1.1 and later.
+Compatibility: Multiple address support only available in +Apache 1.2 and later.

<VirtualHost> and </VirtualHost> are used to enclose a group of directives which will apply only to a particular virtual host. @@ -1296,16 +1309,27 @@ then this can be accomplished with the ifconfig alias command (if your OS supports it), or with kernel patches like VIF (for SunOS(TM) 4.1.x)).

-SECURITY: See the security tips +The special name _default_ can be specified in which case +this virtual host will match any ip address that is not explicitly listed +in another virtual host. In the absence of any _default_ virtual host +the "main" server config, consisting of all those definitions outside +any VirtualHost section, is used when no match occurs.

+ +SECURITY: See the +security tips document for details on why your security could be compromised if the directory where logfiles are stored is writable by anyone other than the user that starts the server.

See also: +Warnings about DNS and Apache
+See also: Information on Virtual Hosts. (multihome)
See also: -Non-IP address-based Virtual Hosts +Non-IP address-based Virtual Hosts
+See also: +In-depth description of Virtual Host matching