From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <61596701780d20c7acb50409fc75ab6d@plan9.bell-labs.com> From: Eric Grosse To: 9fans@cse.psu.edu Subject: Re: [9fans] httpd and magic MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-ukxllfgmmqmvnvybnmqxsjznto" Date: Thu, 14 Nov 2002 10:11:33 -0500 Topicbox-Message-UUID: 1f481b04-eacb-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-ukxllfgmmqmvnvybnmqxsjznto Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Correct, it sounds like you do need a modified httpd. After recognizing "/magic" and before doing the execl(), it would use the supplied Host: header line to select a new namespace. --upas-ukxllfgmmqmvnvybnmqxsjznto Content-Type: message/rfc822 Content-Disposition: inline Received: from grubby.research.bell-labs.com ([135.104.2.9]) by plan9; Thu Nov 14 08:52:20 EST 2002 Received: from dusty.research.bell-labs.com (dusty.research.bell-labs.com [135.104.2.7]) by grubby.research.bell-labs.com (8.11.6/8.11.6) with SMTP id gAEDqGa83973 for ; Thu, 14 Nov 2002 08:52:17 -0500 (EST) Received: from mail.cse.psu.edu ([130.203.4.6]) by dusty; Thu Nov 14 08:52:11 EST 2002 Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.18.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 59C9A19A56; Thu, 14 Nov 2002 08:52:10 -0500 (EST) Delivered-To: 9fans@cse.psu.edu Received: from mail502.nifty.com (mail502.nifty.com [202.248.37.210]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 4919D1998C for <9fans@cse.psu.edu>; Thu, 14 Nov 2002 08:51:42 -0500 (EST) Received: from localhost by mail502.nifty.com (8.12.6/3.7W-07/15/02) with ESMTP id gAEDoHuo009478 for <9fans@cse.psu.edu>; Thu, 14 Nov 2002 22:50:18 +0900 Subject: Re: [9fans] httpd and magic Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v482) From: Moroo Jun To: 9fans@cse.psu.edu Content-Transfer-Encoding: 7bit In-Reply-To: Message-Id: <00BAE13C-F7D8-11D6-86F1-0050E4504768@moroo.com> X-Mailer: Apple Mail (2.482) Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.11 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Thu, 14 Nov 2002 22:50:14 +0900 On 2002.11.14, at 01:12, Eric Grosse wrote: > Did you get a satisfactory solution to having /magic/somecgi > behavior depend on the domain name? Not yet. Maybe I should modify httpd for this purpose. I tried to use plan9 for hosting service OS. I should treat hosting service user as a computer beginner. I afraid the following situation. User A(his domain is domain1.org) creates cgi "somecgi" and user B(his domain is domain2.org) create same name "somecgi" cgi but different program. --upas-ukxllfgmmqmvnvybnmqxsjznto--