Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 67352 invoked from network); 2 Jan 2008 15:29:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Jan 2008 15:29:27 -0000 Received: (qmail 25629 invoked by uid 500); 2 Jan 2008 15:29:06 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 25070 invoked by uid 500); 2 Jan 2008 15:29:05 -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 25059 invoked by uid 99); 2 Jan 2008 15:29:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jan 2008 07:29:04 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [67.79.91.197] (HELO mx1.ailife.com) (67.79.91.197) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jan 2008 15:28:51 +0000 X-ASG-Debug-ID: 1199287719-5ad0002d0000-XEkec8 X-Barracuda-URL: http://10.2.0.101:8000/cgi-bin/mark.cgi Received: from ailmail.ailife.com (localhost [127.0.0.1]) by mx1.ailife.com (Spam Firewall) with ESMTP id DF80611A39F for ; Wed, 2 Jan 2008 09:28:39 -0600 (CST) Received: from ailmail.ailife.com (ailmail.ailife.com [10.2.0.17]) by mx1.ailife.com with ESMTP id zDDsBP3hokxCDNhF for ; Wed, 02 Jan 2008 09:28:39 -0600 (CST) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-ASG-Orig-Subj: RE: [users@httpd] Virtual Hosts Date: Wed, 2 Jan 2008 09:25:01 -0600 Message-ID: In-Reply-To: <47782628.4090107@cfl.rr.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [users@httpd] Virtual Hosts Thread-Index: AchLOW1901NYTRd6QWazOVzNKiJzZgCGpeQg References: <20071230155312.GA3403@spookie1> <20071230171802.GB3403@spookie1> <47782628.4090107@cfl.rr.com> From: "Frank M. Ramaekers" To: X-Barracuda-Connect: ailmail.ailife.com[10.2.0.17] X-Barracuda-Start-Time: 1199287719 X-Barracuda-Virus-Scanned: by Barracuda Spam Firewall at ailife.com X-Virus-Checked: Checked by ClamAV on apache.org Subject: RE: [users@httpd] Virtual Hosts I was having the same problem, only mine are different hosts not domains. How would you do them? (e.g. abc.domain.com def.domain.com and xyz.domain.com) TIA, Frank M. Ramaekers Jr. Systems Programmer MCP, MCP+I, MCSE & RHCE American Income Life Insurance Co. Phone: (254)761-6649 1200 Wooded Acres Dr. Fax: (254)741-5777 Waco, Texas 76701 -----Original Message----- From: Norman Peelman [mailto:npeelman@cfl.rr.com]=20 Sent: Sunday, December 30, 2007 5:14 PM To: users@httpd.apache.org Subject: Re: [users@httpd] Virtual Hosts Joe wrote: > On 17:52 Sun 30 Dec , Victor Trac wrote: >=20=20=20 >> On Dec 30, 2007 4:53 PM, Joe wrote: >>=20=20=20=20=20 >>> I used to be able to do this in 1.3 but now using 2.2 I can't get it to >>> work. Running on a Debian server in /etc/apache2/apache2.conf I have >>> (where nnn.nnn.nnn.nnn =3D my IP address) >>> >>>=20=20=20=20=20=20=20 >> Someone else can correct me if I'm wrong, but I believe that since >> you're listening to a particular IP and port, you'll need to change >> your NameVirtualHost and directives to match: >> >> NameVirtualHost nnn.nnn.nnn.nnn:80 >> >> ... >> >> >> /var/www/chris is always pulled up because it comes first >> alphabetically, and any request that goes to nnn.nnn.nnn.nnn:80 >> (because of your Listen directive) is served by the first matching >> host. >> >> More information can be found here: >> http://httpd.apache.org/docs/2.0/vhosts/examples.html >> >> Hope that helps. >> >>=20=20=20=20=20 > Trying that and I cannot connect at all. Get the following error > > Address already in use: make_sock: could not bind to address > nnn.nnn.nnn.nnn:80 > >=20=20=20 Listen 80 NameVirtualHost * ServerName yoursite.com ServerAlias www.yoursite.com ... ServerName yoursite2.com ServerAlias www.yoursite2.com ... --=20 Norman Registered Linux user #461062 --------------------------------------------------------------------- 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 _____________________________________________________=0D This message contains information which is privileged and confidential and = is solely for the use of the=0D intended recipient. If you are not the intended recipient, be aware that an= y review, disclosure,=0D copying, distribution, or use of the contents of this message is strictly p= rohibited. If you have=0D received this in error, please destroy it immediately and notify us at Priv= acyAct@ailife.com. --------------------------------------------------------------------- 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