httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ras...@madhaus.utcs.utoronto.ca
Subject Re: Sensible Magic
Date Tue, 23 Jul 1996 18:02:18 GMT
> 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.

-Rasmus


Mime
View raw message