- publishing free software manuals
The Apache HTTP Server Reference Manual
by Apache Software Foundation
Paperback (6"x9"), 862 pages
ISBN 9781906966034
RRP £19.95 ($29.95)

Get a printed copy>>>

20.3  Programmer’s Note

In order to implement the handler features, an addition has been made to the Apache API1 that you may wish to make use of. Specifically, a new record has been added to the request_rec structure:

char *handler

If you wish to have your module engage a handler, you need only to set r->handler to the name of the handler at any time prior to the invoke_handler stage of the request. Handlers are implemented as they were before, albeit using the handler name instead of a content type. While it is not necessary, the naming convention for handlers is to use a dash-separated word, with no slashes, so as to not invade the media type name-space.

ISBN 9781906966034The Apache HTTP Server Reference ManualSee the print edition