httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Andersson" <>
Subject Re: [users@httpd] Questions about apache2 module programing
Date Wed, 13 Oct 2004 14:09:56 GMT
Hu Xuekun wrote:
> static int mod_hello_handler(request_rec *r)
> {
>        if (strcmp(r->handler, "hello-handler"))
>                return DECLINED;
>        [snip]
>        return DECLINED;
> }

Might be the problem; you should probably have "return OK;" if you accept 
it, otherwise Apache will think your module did not accept the request, thus 
the 404.

There is a dedicated list for module development where you will get better 
response, see:

Robert Andersson 

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message