From owner-freebsd-questions Thu Oct 2 12:42:10 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA18028 for questions-outgoing; Thu, 2 Oct 1997 12:42:10 -0700 (PDT) Received: from mail.boisfrancs.qc.ca (mail.boisfrancs.qc.ca [207.253.52.5]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id MAA18023 for ; Thu, 2 Oct 1997 12:42:07 -0700 (PDT) Received: from liloo (xenub@ppp5.boisfrancs.qc.ca [207.253.52.26]) by mail.boisfrancs.qc.ca (8.8.5/8.8.5) with SMTP id PAA04036 for ; Thu, 2 Oct 1997 15:48:25 -0400 (EDT) Message-Id: <3.0.3.32.19971002154210.009356c0@boisfrancs.qc.ca> X-Sender: xenub@boisfrancs.qc.ca X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.3 (32) Date: Thu, 02 Oct 1997 15:42:10 -0400 To: questions@freebsd.org From: Louis-Philippe Alain Subject: Apache Listen option Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, Here's my problem with apache (at least I think it's with apache)... My machine's ethernet IP is IP1, I made two aliases to this IP which we'll call IP2 and IP3. IP2 is for a virtual web server and IP3 is for my FTP server. So I don't want apache to answer on IP3. I used the Listen option in httpd.conf (Listen IP1:80 Listen IP2:80) and then did a little killall -HUP httpd to restart apache. It worked fine. Apache was answering only to IP1 and IP2... I then rebooted my machine, apache didn't start! :( My IP aliases are set in /etc/rc.local and apache is started from a script in /usr/local/etc/rc.d/ which is set in /etc/rc.conf... I'm sure that the problem is not with the script that start apache in itself cause I tried to reconfigure apache as it was before and reboot my machine and apache started fine. And the problem is not with the configuration of apache itself cause when I execute apache after the boot process it work fine with the Listen options I mentioned earlier. I think the problem could be that my IP aliases are not yet set when apache try to start. So apache can't bind the tow IP cause they're not there... So apache can't start. Could it be the problem? If not, what could it be? If yes, how can I fix this? Thanks a lot! Louis-Philippe Alain