From owner-freebsd-questions@FreeBSD.ORG Sat May 7 01:39:11 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0308416A4D4 for ; Sat, 7 May 2005 01:39:11 +0000 (GMT) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id B141543D1D for ; Sat, 7 May 2005 01:39:10 +0000 (GMT) (envelope-from tomasq@gmail.com) Received: by zproxy.gmail.com with SMTP id 34so1098573nzf for ; Fri, 06 May 2005 18:39:10 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=bzOMCOnjfsRnCxAGymW6zGRLDD64mfWGgBGFPGtg/Somil9OPR5q3L1TrTE3d1t9qOOVYBMBXMMmcNYk5X0wINc9zhlqizh6AyHD9hmZyY27L5lJnLkhJUW9YQvuhGlovQFx897wLAGzN8iRvy5TLz+NiXEJT6m27tX1hFrMsS8= Received: by 10.36.10.20 with SMTP id 20mr874616nzj; Fri, 06 May 2005 18:39:10 -0700 (PDT) Received: by 10.36.2.19 with HTTP; Fri, 6 May 2005 18:39:10 -0700 (PDT) Message-ID: <9e46c99e0505061839d232914@mail.gmail.com> Date: Fri, 6 May 2005 21:39:10 -0400 From: Tomas Quintero To: sn1tch In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD ip alias X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Tomas Quintero List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 May 2005 01:39:11 -0000 On 5/6/05, sn1tch wrote: > I have an issue that is driving me mad, it may be something simple > that I am overlooking but any insight would be great. >=20 > I have a freebsd machine with 2 nics and one being used. The first has > 2 ip addresses, one of them via alias. I have BIND listening x.x.x.19 > and regular operations on x.x.x.18. My problem is that apache wants to > listen on both IPs and I dont want someone being able to point their > browser at the ns1.domain.com and see a web page, so how do i get > apache to stop listening on this IP. I have tried binding it to the > .18 address and even setting Listen x.x.x.18:80 but it still wants to > go to the main "apache TLS/SSL has been installed" page when i point > it at x.x.x.19. Any thoughts as to what I might be doing wrong? Are you using Virtual Hosts? Have you actually tried restarting Apache since you editted the Listen line? --=20 -Tomas Quintero