httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Takashi Sato <se...@lans-tv.com>
Subject Re: My module configuration and AddHandler
Date Mon, 17 Sep 2007 15:37:13 GMT
On Mon, 17 Sep 2007 15:19:18 +0200
gromeck <gromeck@gromeck.de> wrote:

> Now I get only requests for this directory, but for all types
> of files. Do I have to filter out the extension on my own?

You do not have to filter out the extension but the handler name.

Add something like
if (strcmp(r->handler, "mymodule") != 0) return DECLINED;
to the first line of handler function of your module.

-- 
Takashi Sato
serai@lans-tv.com

Mime
View raw message