Date: Thu, 02 Oct 1997 15:42:10 -0400 From: Louis-Philippe Alain <xenub@boisfrancs.qc.ca> To: questions@freebsd.org Subject: Apache Listen option Message-ID: <3.0.3.32.19971002154210.009356c0@boisfrancs.qc.ca>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.3.32.19971002154210.009356c0>