httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rui Hu <tchrb...@gmail.com>
Subject Re: one problem when calling ap_get_module_config
Date Wed, 29 Feb 2012 11:59:19 GMT
thanks!

Problem solved. It the problem with internal redirects.

2012/2/29 Nick Kew <niq@apache.org>

>
> On 29 Feb 2012, at 10:47, Rui Hu wrote:
>
> > I use r->request_config to store module data as a substitute for global
> > vars. One type_checker_hook function uses ap_get_module_config at its
> > beginning. But what I got is NULL. Strangely, post_read_request_hook
> > function works fine, whose codes is basically the same.
>
> Any subrequests or internal redirects involved?  Look carefully at the
> request object itself.
>
> Or tyops?
>
> --
> Nick Kew
>
>


-- 
Best regards,

Rui Hu
----------------------------------------------------------------------------------------
State Key Laboratory of Networking & Switching Technology
Beijing University of Posts and Telecommunications(BUPT)
MSN: tchrbupt@gmail.com
-----------------------------------------------------------------------------------------

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message