From owner-freebsd-hackers Mon May 22 07:45:47 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id HAA25690 for hackers-outgoing; Mon, 22 May 1995 07:45:47 -0700 Received: from ns1.win.net (ns1.win.net [204.215.209.3]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id HAA25681 for ; Mon, 22 May 1995 07:45:42 -0700 Received: (from bugs@localhost) by ns1.win.net (8.6.11/8.6.9) id KAA29131 for hackers@freebsd.org; Mon, 22 May 1995 10:47:39 -0400 From: Mark Hittinger Message-Id: <199505221447.KAA29131@ns1.win.net> Subject: multi virtual web sites To: hackers@FreeBSD.org Date: Mon, 22 May 1995 10:47:38 -0400 (EDT) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1046 Sender: hackers-owner@FreeBSD.org Precedence: bulk Brian Tao's message earlier this weekend made me pick up one of my backburner projects and see if FreeBSD was up to the task. Dare I even think it? :-) Brian is right, the ifconfig alias supports multiple aliases per ethernet port, unlike most unix's that support one. How convenient!! You learn something new every day. So if you grab the patches for your web server from: http://www.thesphere.com/%7Edlp/TwoServers You get to have more than TwoServers since you happen to be a FreeBSD person. Beat that drum! Pound! Pound! I use the CERN httpd and the patches went in very easily. I had to fool around a little bit with the technique. The bind() call needs to be executed with privilege, so you have to run as root. This is nasty, however, the "parentuserid"/"parentgroupid" can get you around that little nasty. SO! Yet another FreeBSD solution to a major problem that I was putting off because 2 was not so good, and hacking a ppp loopback was going to take some time. This is great. Regards, Mark Hittinger bugs@win.net