httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Andersson" <rob...@profundis.nu>
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:
    http://modules.apache.org/subscribe

Regards,
Robert Andersson 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message