[X-Unix] Apache & ifconfig

Eugene list-themacintoshguy at fsck.net
Mon Oct 18 04:19:03 PDT 2004


On Mon, Oct 18, 2004 at 11:52:37AM +0200, Jakob Peterhänsel wrote:
: 
: On 18. okt 2004, at 8:35, Pedro fp wrote:
: 
: >1. Should I have done anything differently?
: 
: Why use all those IP addresses?? You can use ONE and then Virtual Hosts 
: and get the same feature.

In the Apache docs (and everywhere else on the Internet), this is known
as "named-based virtual hosts".  It is better than in every way IP-based
virtual hosts, except for SSL issues (stupid Netscape for pulling an M$).

: The GUI [Off Topic?] way of adding more than one IP to an interface in 
: X, is to select Network Port Configurations in the Show pop-up in 
: Network CP, select en1 and hit Duplicate. Then you can even give it a 
: name like "en1-host2.com" or something...

The GUI method saves the IP aliases into the NetInfo database.  So the
settings are preserved through restarts.  But using ifconfig manually,
the settings are lost on restarts and the commands must be re-entered
every time.


-- 
Eugene Lee
http://www.coxar.pwp.blueyonder.co.uk/


More information about the X-Unix mailing list