From owner-freebsd-questions Sat Nov 3 14:20:40 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.mobilitylab.net (goldorak.ericsson.ca [192.75.89.161]) by hub.freebsd.org (Postfix) with SMTP id 01E3F37B406 for ; Sat, 3 Nov 2001 14:20:38 -0800 (PST) Received: (qmail 40329 invoked by uid 65534); 3 Nov 2001 22:20:33 -0000 Date: 3 Nov 2001 22:20:33 -0000 Message-ID: <20011103222033.40328.qmail@mail.mobilitylab.net> From: "Martin Gignac FreeBSD " To: David Kirchner , Martin Gignac FreeBSD , Subject: Re: Apache not binding to single address... X-Mailer: NeoMail 1.25 X-IPAddress: 64.228.225.86 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Your insistance on uncomment all BindAddress and Port directives prompted me to scan my whole httpd.conf file. I found an SSL Support section with two Listen directives (one for port 80 and one for port 443 -- I am running SSL on that server too). I modified the file to look like this: ===== httpd.conf ===== ## ## SSL Support ## ## When we also provide SSL we have to listen to the ## standard HTTP port (see above) and to the HTTPS port ## Listen 172.20.2.2:80 Listen 172.20.2.2:443 ===== httpd.conf ===== I restarted Apache and it did the trick. Now the process only listens on 172.20.2.2:80 and 172.20.2.2:443, which is exactly what I wanted. Thanks, -Martin > On 3 Nov 2001, Martin Gignac FreeBSD wrote: > > > Hi, > > > > I'm running apache+mod_ssl-1.3.20+2.8.4 on a FreeBSD 4.4-STABLE system > > and I'm having a hard time binding the httpd server to a single IP > > address. I currently have many virtual IP addresses assigned to a > > single Ethernet card. > > In my experience, you have to use the Listen directive to do this. You > want to comment out all BindAddress and Port directives, and use: > > Listen 172.20.2.2:80 > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message