httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@gonzo.ben.algroup.co.uk>
Subject Re: Sensible Magic
Date Tue, 23 Jul 1996 20:10:17 GMT
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)

Mime
View raw message