Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 22582 invoked from network); 17 Dec 2007 05:18:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Dec 2007 05:18:11 -0000 Received: (qmail 77176 invoked by uid 500); 17 Dec 2007 05:17:49 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 77159 invoked by uid 500); 17 Dec 2007 05:17:49 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 77148 invoked by uid 99); 17 Dec 2007 05:17:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Dec 2007 21:17:49 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of btricha@gmail.com designates 72.14.246.250 as permitted sender) Received: from [72.14.246.250] (HELO ag-out-0708.google.com) (72.14.246.250) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Dec 2007 05:17:27 +0000 Received: by ag-out-0708.google.com with SMTP id 33so1411401agc.0 for ; Sun, 16 Dec 2007 21:17:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=A325U1RtkBlHV0n13/YSUQgafaBzmNOtHNdHV8zFEgg=; b=hbVx1sxtw77yf/pHzSmyWlIaYEpjRkd7SAUASfsWvsge7xmkkHZq/Cd5DTmlnm4NUDMxHMi8lHDM38oMl7jJ/eJM5RB+ihjJfmSUB+PW2RmDx6/OR/yM71RZV1Ak9DR/CWwUhVoWmutBDNEwsp9iKmnSs7UZvQClCB7fD6XXbMo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=bfdg3oetMwpH7V+u2MGVxsyWMm4yf5EATiM28JB8Vs3/ekGBtQlrpWYjrWqN4EvdmAxOedCCDezjaX0zov82OfqPwaJwBDN+9LG+d6g/0A0MbKVEgMCzFOkdaZ50W7DYFmHiwHY7eIvDblG5XHpdMXTS4160dcGsGPzZiAKNP5Y= Received: by 10.150.135.2 with SMTP id i2mr2188631ybd.127.1197868650095; Sun, 16 Dec 2007 21:17:30 -0800 (PST) Received: by 10.150.227.14 with HTTP; Sun, 16 Dec 2007 21:17:30 -0800 (PST) Message-ID: <3f81a4240712162117y364964f2lf3ecbd95e447a63a@mail.gmail.com> Date: Sun, 16 Dec 2007 22:17:30 -0700 From: "Bryan Richardson" To: users@httpd.apache.org In-Reply-To: <33758.77.133.84.172.1197868141.squirrel@www.tramsch.de> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2421_20071469.1197868650093" References: <3f81a4240712161944r2797674clec1e71e89f0123ea@mail.gmail.com> <33758.77.133.84.172.1197868141.squirrel@www.tramsch.de> X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] NameVirtualHost Directive ------=_Part_2421_20071469.1197868650093 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Florian, Thanks for the response. I guess my question is why have the NameVirtualHost directive since the *same* IP address is required to be specified as an attribute in the VirtualHost block? Thanks! -- BTR On Dec 16, 2007 10:09 PM, wrote: > Hi Bryan, > > one example would be a machine with two IP adresses, each of them has its > own > www.domain > > example: > > NameVirtualHost IP1:80 > > .... > > > NameVirtualHost IP2:80 > > .... > > > but there are even more situations where NameVirtualHost could used. Maybe > with different websites on different ports, etc. > > bye > Florian > > > On Mon, December 17, 2007 04:44, Bryan Richardson wrote: > > Hello all, > > > > I'm curious as to why one would ever need to use the NameVirtualHost > > directive in site configuration files. I just can't seem to get my head > > around why it's *sometimes* required. I say sometimes only because I've > > seen instances where it isn't used at all. If all VirtualHost arguments > > *must* match the IP address given with the NameVirtualHost directive, > then > > what's the point? > > > > I learn best by example... can anyone give me an example of when it is > > needed? > > > > Thanks! -- BTR > > > > > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See for more info. > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > " from the digest: users-digest-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > > ------=_Part_2421_20071469.1197868650093 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Florian,

Thanks for the response.  I guess my question is why have the NameVirtualHost directive since the *same* IP address is required to be specified as an attribute in the VirtualHost block?

Thanks! -- BTR

On Dec 16, 2007 10:09 PM, <florian.schmidt@tramsch.de> wrote:
Hi Bryan,

one example would be a machine with two IP adresses, each of them has its own
www.domain

example:

NameVirtualHost IP1:80
<VirtualHost IP1:80>
 ....
</VirtualHost>

NameVirtualHost IP2:80
<VirtualHost IP2:80>
 ....
</VirtualHost>

but there are even more situations where NameVirtualHost could used. Maybe
with different websites on different ports, etc.

bye
Florian


On Mon, December 17, 2007 04:44, Bryan Richardson wrote:
> Hello all,
>
> I'm curious as to why one would ever need to use the NameVirtualHost
> directive in site configuration files.  I just can't seem to get my head
> around why it's *sometimes* required.  I say sometimes only because I've
> seen instances where it isn't used at all.  If all VirtualHost arguments
> *must* match the IP address given with the NameVirtualHost directive, then
> what's the point?
>
> I learn best by example... can anyone give me an example of when it is
> needed?
>
> Thanks! -- BTR
>



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL: http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
  "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


------=_Part_2421_20071469.1197868650093--