httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@decus.org (Rodent of Unusual Size)
Subject Re: mod_example and the API
Date Sun, 13 Apr 1997 13:27:46 GMT
>From the fingers of Dean Gaudet flowed the following:
>
>Some comments on mod_example and the API.  It looks like a good resource
>for people to learn how things work.

    Well, it started as a learning experience for *me* <g>.  I just hope
    I learned the right lessons.

>It's possible for your directives to implicitly know in which context they
>are supposed to operate.

    Oh?  How?

>                          Further it's possible for the directives to
>use get_module_config (cmd->server->module_config, &ptr_to_my_server_config);
>to explicitly pick up a per-server config.

    Noted.

>All output must go through the r*() routines otherwise it'll break various
>things including HTTP/1.1 chunked-encoding.

    Noted.

>> /*--------------------------------------------------------------------------*/
>> /* 
>>  * List of handlers our module supplies.  Each handler is defined by two
>>  * parts: a name by which it can be referenced (such as by {Add,Set}Handler),
>>  * and the actual routine name.  The list is terminated by a NULL block, since
>>  * it can be of variable length.
>>  */
>
>All handlers without * in the type are handled first before any handler
>with * in the type is considered.

    I don't understand what you mean here..

    #ken    :-)}

Mime
View raw message