httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@attglobal.net>
Subject Re: Use of AddHandler
Date Wed, 12 Dec 2001 22:25:25 GMT
"Dwayne Miller" <dmiller@espgroup.net> writes:

> I'm confused on how to use the AddHandler directive.
> 
> I've written a module, loaded it, and it seems to get called for every
> page requested.  Do I need to determine if the page is something I
> want to handle or pass on?  I thought the AddHandler directive is used
> to tell apache which file types I would like to see.  If so, how do I
> register my module with the appropriate type used in AddHandler
> directive?

For now you must look at r->handler to see if you just decline to
handle the request immediately.  Look at status_handler() in
mod_status.c.

-- 
Jeff Trawick | trawick@attglobal.net | PGP public key at web site:
       http://www.geocities.com/SiliconValley/Park/9289/
             Born in Roswell... married an alien...

Mime
View raw message