From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1EBi6e-0003KH-G9 for garchives@archives.gentoo.org; Sun, 04 Sep 2005 00:11:32 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j8407gsu027575; Sun, 4 Sep 2005 00:07:42 GMT Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.207]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j8403xOs027469 for ; Sun, 4 Sep 2005 00:04:00 GMT Received: by zproxy.gmail.com with SMTP id x7so605315nzc for ; Sat, 03 Sep 2005 17:06:52 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=bphDJcqPVcDoAxbuk4JyaONFLqIKoCtf87S9sTn7Cy4ww486Kvr2ajycJZOYviU/4pwVzACM6xrGqZqG3XqDZH7Qtq8iLzqmcdwa9G8XhxXnlkDNa8enYtAIuEQbRcaPS3It1c6FCC44NU7BPxydRxsicVzno+K2vR/NxbMqBhk= Received: by 10.36.66.19 with SMTP id o19mr153938nza; Sat, 03 Sep 2005 17:06:52 -0700 (PDT) Received: by 10.36.7.18 with HTTP; Sat, 3 Sep 2005 17:06:52 -0700 (PDT) Message-ID: <558b73fb050903170652b50ae3@mail.gmail.com> Date: Sat, 3 Sep 2005 20:06:52 -0400 From: Michael Crute To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] [OT] Apache Virtual Host In-Reply-To: <431A2D1C.60402@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_18596_15351531.1125792412221" References: <42E93ECF.20506@gmail.com> <42E94D3B.2010108@raison.org.uk> <42F67B59.40209@gmail.com> <558b73fb0508071649709948ae@mail.gmail.com> <42F6A9D9.7010000@gmail.com> <558b73fb05080719536b72960a@mail.gmail.com> <4319FFBF.8020104@gmail.com> <558b73fb05090313138a21ccc@mail.gmail.com> <431A2D1C.60402@gmail.com> X-Archives-Salt: 250e5d4e-6ad2-4937-a94b-3ee5b7d7001c X-Archives-Hash: aa54fccecdb83547827e1d472a47aabe ------=_Part_18596_15351531.1125792412221 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 9/3/05, q-parser wrote: >=20 > Those port numbers are chosen for explanatory reason, but I wouldn't=20 > object if they worked ;) This whole file is Include-d into apache2.conf. = I=20 > emphasize that on my localhost, it works great, with ports 85 and 8585=20 > instead the two here. The curious thing is, that if I want to use port 85= 85=20 > here, the browser shows me main apache page (you know, as if port 80 is= =20 > used). > All I want to know is why apache does not 'want' to listen to the given= =20 > ports? I don't know, maybe it does, but I'm getting time-outs. >=20 >=20 Well you really don't need those Listen directives, those will cause the=20 main server to listen on those ports (thus the reason you see the main=20 page). You DO need NameVirtualHost directives for each port you want to=20 vhost on though. Try adding NameVirtualHosts for the ports and see if that= =20 works. -Mike --=20 ________________________________ Michael E. Crute Software Developer SoftGroup Development Corporation Linux, because reboots are for installing hardware. "In a world without walls and fences, who needs windows and gates?" ------=_Part_18596_15351531.1125792412221 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 9/3/05, q-parser <quickparser@gmail.com> wrote:
Those port numbers are chosen for explanatory reason, but I wouldn't object if they worked ;) This whole file is Include-d into apache2.conf. I emphasize that on my localhost, it works great, with ports 85 and 8585 instead the two here. The curious thing is, that if I want to use port 8585 here, the browser shows me main apache page (you know, as if port 80 is used).
All I want to know is why apache does not 'want' to listen to the given ports? I don't know, maybe it does, but I'm getting time-outs.


Well you really don't need those Listen directives, those will cause the main server to listen on those ports (thus the reason you see the main page). You DO need NameVirtualHost directives for each port you want to vhost on though. Try adding NameVirtualHosts for the ports and see if that works.

-Mike

--
________________________________
Micha= el E. Crute
Software Developer
SoftGroup Development Corporation
<= br>Linux, because reboots are for installing hardware.
"In a world = without walls and fences, who needs windows and gates?" ------=_Part_18596_15351531.1125792412221-- -- gentoo-user@gentoo.org mailing list