Date: Tue, 15 Apr 1997 23:02:02 +0000 From: Wes Hester <software@crosslogic.com> To: freebsd-questions@FreeBSD.ORG Subject: help with sysconfig file Message-ID: <335408EA.703B@crosslogic.com>
next in thread | raw e-mail | index | archive | help
Greetings, I am trying to setup a virtual web server. I currently have FreeBSD and the Apache web server running. Once the web server is up I can type source test_ip and bind the virtual addresses to the same ethernet card as my orginal domain. In the file called test_ip I have the following: #This file configures multiple ips to a single ethernet card address ifconfig ed0 inet 208.197.69.20 255.255.255.192 alias route add -host 208.197.69.20 127.0.0.1 0 I want to move these commands into the sysconfig file so that on boot up it is cleaner than calling source on my test_ip file. However, when I add these commands I am getting problems with restarting the network, so my work around has been sourcing the test_ip file. Also, when another problem I am having is that when I get the network up after the work around, I am having problems between with my mail, where it is piling up in the Q rather than being forwarded to my smtp server. The mail works find if I don't source the test_ip file. However, when I source the test_ip file all the virtual web servers work. Any ideas. I was thinking maybe a problem with the way I am binding rather than using the sysconfig file. Thanks Wes
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?335408EA.703B>