From owner-freebsd-hackers Thu Jun 1 09:02:25 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id JAA22846 for hackers-outgoing; Thu, 1 Jun 1995 09:02:25 -0700 Received: from tserv.lodgenet.com (root@[204.157.148.70]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id JAA22798 for ; Thu, 1 Jun 1995 09:00:58 -0700 Received: from jake.lodgenet.com (jake.lodgenet.com [204.124.120.30]) by tserv.lodgenet.com (8.6.12/8.6.12) with ESMTP id LAA01170 for ; Thu, 1 Jun 1995 11:01:04 -0500 Received: (from erich@localhost) by jake.lodgenet.com (8.6.11/8.6.9) id LAA00651; Thu, 1 Jun 1995 11:02:39 -0500 Received: from freefall.cdrom.com (freefall.cdrom.com [192.216.222.4]) by rrnet.com (8.6.5/8.6.5) with ESMTP id NAA24188 for ; Mon, 22 May 1995 13:12:01 -0500 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 Status: RO 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