From: Martin Kraemer Date: Tue, 11 Nov 1997 23:47:21 +0000 (+0000) Subject: Citing Lars: X-Git-Tag: APACHE_1_3b3~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eff734582b272a5c5be7a148a19a705b7d4face9;p=apache Citing Lars: Hi, the attachment includes a reworked Apache manual with the new virtual host documentation. As Dean suggested I created a new directory named 'vhosts' and moved the updated vhosts-in-depth etc. documents into the new directory, renamed them and updated all other documents which refered to the old docs (at least I tried to find all documents...). Submitted by: Lars Eilebrecht Reviewed by: Martin Kraemer git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79568 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/bind.html b/docs/manual/bind.html index 9253168138..2398082a14 100644 --- a/docs/manual/bind.html +++ b/docs/manual/bind.html @@ -95,8 +95,7 @@ not listening to, it cannot be accessed.

See also

See also the documentation on -Virtual Hosts, -Non-IP virtual hosts, +Virtual Hosts, BindAddress directive, Port directive, DNS Issues diff --git a/docs/manual/bind.html.en b/docs/manual/bind.html.en index 9253168138..2398082a14 100644 --- a/docs/manual/bind.html.en +++ b/docs/manual/bind.html.en @@ -95,8 +95,7 @@ not listening to, it cannot be accessed.

See also

See also the documentation on -Virtual Hosts, -Non-IP virtual hosts, +Virtual Hosts, BindAddress directive, Port directive, DNS Issues diff --git a/docs/manual/dns-caveats.html b/docs/manual/dns-caveats.html index 823631147e..66d0c22c99 100644 --- a/docs/manual/dns-caveats.html +++ b/docs/manual/dns-caveats.html @@ -113,11 +113,11 @@ in URLs of the form http://www.abc.dom/whatever) will all be served by the def.com virtual host. To better understand why this happens requires a more in-depth discussion of how Apache matches up incoming requests with the virtual host that will serve it. A rough -document describing this is available. +document describing this is available.

The "main server" Address

-

The addition of non-IP-based virtual host +

The addition of name-based virtual host support in Apache 1.1 requires Apache to know the IP address(es) of the host that httpd is running on. To get this address it uses either the global ServerName (if present) or calls the C function @@ -141,18 +141,6 @@ CGIs unless you use mod_env to control the environment. It's best to consult the man pages or FAQs for your OS. -

The _default_ Address

- -

Any address that happens to go to your webserver which doesn't match -the IP address of any of the webservers will be served from the "main" or -"default" server configurations. The "main" server configuration consists -of all those definitions appearing outside of any VirtualHost section. -You may want instead to define a <VirtualHost _default_:*> -which returns 403 or 404 for all hits. (The trailing :* -makes it apply to all ports, which is just a safety measure should you -begin using multiple Listen -directives.) -

Tips to Avoid these problems