Received: by taz.hyperreal.com (8.6.12/8.6.5) id NAA14264; Tue, 23 Jul 1996 13:57:19 -0700 Received: from arachnet.algroup.co.uk by taz.hyperreal.com (8.6.12/8.6.5) with SMTP id NAA14255; Tue, 23 Jul 1996 13:57:11 -0700 Received: from heap.ben.algroup.co.uk by arachnet.algroup.co.uk id aa13883; 23 Jul 96 21:56 BST Received: from gonzo.ben.algroup.co.uk by heap.ben.algroup.co.uk id aa27632; 23 Jul 96 21:15 BST Subject: Re: Sensible Magic To: new-httpd@hyperreal.com Date: Tue, 23 Jul 1996 21:10:17 +0100 (BST) From: Ben Laurie In-Reply-To: from "rasmus@madhaus.utcs.utoronto.ca" at Jul 23, 96 02:02:18 pm X-Mailer: ELM [version 2.4 PL24 PGP2] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1101 Message-ID: <9607232110.aa17939@gonzo.ben.algroup.co.uk> Sender: owner-new-httpd@apache.org Precedence: bulk Reply-To: new-httpd@hyperreal.com rasmus@madhaus.utcs.utoronto.ca wrote: > > > I noticed that mod_info uses a nice location/sethandler > > contruct whereas mod_status uses the x-application magic > > with AddType. > > > > Any ideas to get this in line ? > > According to this, it looks like it uses both: > > handler_rec status_handlers[] = > { > { STATUS_MAGIC_TYPE, status_handler }, > { "server-status", status_handler }, > { NULL } > }; > > When I wrote mod_info, I didn't see any reason to make yet another > magical mime type, so I just did the server-info one. mod_status was written before handlers, so it retains a magic mime type for back compatibility. We should probably consider abolishing them in 2.0 or perhaps 3.0 ;-) Now ... what's on the list for 3.0? ;-) Cheers, Ben. > > -Rasmus > -- Ben Laurie Phone: +44 (181) 994 6435 Freelance Consultant and Fax: +44 (181) 994 6472 Technical Director Email: ben@algroup.co.uk A.L. Digital Ltd, URL: http://www.algroup.co.uk London, England. Apache Group member (http://www.apache.org)