httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gomez Henri" <new-ht...@slib.fr>
Subject Re: help needed on mod_jk.c
Date Thu, 08 Feb 2001 23:05:23 GMT
>You made a small and completely expected mistake. When we made the
>handler a hook, we also forced the module to determine if the request was
>for this handler or not. In Apache 1.3, Apache looked at the handler
>type, and made called the right handler. The solution is to do a strcmp
>at the very beginning of the handler to make sure that r->handler matches
>something you want to server. The best example I know of off the top of
>my head, is mod_autoindex, autoindex_handler.

I added the check of r->handler and now mod_jk works perfectly
in Apache 2.0.

Thanks Ryan


Mime
View raw message