Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 6951 invoked from network); 17 Nov 2004 17:44:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 17 Nov 2004 17:44:52 -0000 Received: (qmail 18529 invoked by uid 500); 17 Nov 2004 17:44:41 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 18512 invoked by uid 500); 17 Nov 2004 17:44:41 -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: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 18498 invoked by uid 99); 17 Nov 2004 17:44:40 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [200.73.8.3] (HELO Nivel5.cl) (200.73.8.3) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 17 Nov 2004 09:44:33 -0800 Received: from [200.90.177.233] (helo=omega) by Nivel5.cl with smtp (Exim 4.05) id 1CUTsm-0000dO-00 for users@httpd.apache.org; Wed, 17 Nov 2004 14:46:16 -0300 Message-ID: <006301c4ccd5$e82ab5b0$05daa8c0@omega> From: "Ivan Barrera A." To: References: <225735BE378BA7489D57D942F109AF69836CB2@va02.va.corp.xtria.com> <419B8385.1070601@selectacast.net> Date: Wed, 17 Nov 2004 14:47:33 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.3790.0 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0 X-Virus-Checked: Checked Subject: Re: [users@httpd] NameVirtualHost only works for one ip address X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N As i stated before.. use NamVirtualHost * ----- Original Message ----- From: "Joseph Shraibman" To: Sent: Wednesday, November 17, 2004 12:59 PM Subject: Re: [users@httpd] NameVirtualHost only works for one ip address > That gives me ip based virtual hosts, which is not what I want. I want > my name based virtual hosts to work on all ip addresses > > Warron French wrote: > > Can't you also specify in each VirtualHost container the port and IP address? > > > > > > I mean specifically you could do this: > > > > > > NameVirtualHost 192.168.1.2:80 (if that's the port you are listening on) > > NameVirtualHost 192.168.0.1:80 (if that's the port you are listening on as well) > > > > > > > > ... > > ... > > ... > > > > > > # && then > > > > > > ... > > ... > > ... > > > > > > This is something else you could do as well. > > > > > > If you want a paper reference there are ORA (O'reilly and Associates) textbooks that are awesome references. There are many just for the category of web administration alone! > > > > > > Warron French > > Sr. Network Engineer > > Xtria, LLC > > > > > > -----Original Message----- > > From: Ivan Barrera A. [mailto:Bruce@Ivn.cl] > > Sent: Monday, November 15, 2004 8:37 PM > > To: users@httpd.apache.org > > Subject: Re: [users@httpd] NameVirtualHost only works for one ip address > > > > > > You should add some virtual host to any of those addresses : > > > > > > ..... > > . > > > > Or better yet.. use * to listen on all addressess > > > > NameVitualHost * > > > > > > ..... > > . > > > > > > ----- Original Message ----- > > From: "Joseph Shraibman" > > To: > > Sent: Monday, November 15, 2004 8:20 PM > > Subject: [users@httpd] NameVirtualHost only works for one ip address > > > > > > > >>My server has two different ip addresses. The websites on the server > >>will resolve to one of these two ips, based on where the lookup comes > >>from. In my conf file it looks like: > >> > >>NameVirtualHost 192.168.1.2 > >>NameVirtualHost 192.168.0.1 > >> > >> > >>The problem is that apache will only use one of these ips. When I start > >>up I get: > >> > >>[notice] Apache/2.0.52 (Unix) mod_ssl/2.0.52 OpenSSL/0.9.7a configured > >>-- resuming normal operations > >>[notice] SIGHUP received. Attempting to restart > >>[warn] NameVirtualHost 192.168.0.1:0 has no VirtualHosts > >> > >>... and any requests that go to that ip end up showing me the default > >>apache config page. How do I fix this? > >> > >> > >> > >>--------------------------------------------------------------------- > >>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 > >> > >> > > > > > > > > --------------------------------------------------------------------- > > 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 > > > > > > --------------------------------------------------------------------- > > 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 > > > > --------------------------------------------------------------------- > 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 > > --------------------------------------------------------------------- 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