On Sat, Aug 18, 2012 at 6:32 PM, Eric Covener wrote:
>> i'm enabling my module with a Location directive:
>>
>>
>> SetHandler kcache
>>
>>
>> and i want to control the execution of the module with an initial check:
>>
>> if (!r->handler || strcmp(r->handler, "kcache")) return (DECLIN
> i'm enabling my module with a Location directive:
>
>
> SetHandler kcache
>
>
> and i want to control the execution of the module with an initial check:
>
> if (!r->handler || strcmp(r->handler, "kcache")) return (DECLINED);
>
> but r->handler is null if the hook is called in ap_hoo
On Sat, Aug 18, 2012 at 3:27 PM, Nick Kew wrote:
>
> That has nothing to do with it!
>
> Several people have tried to help you, but you need to learn a bit before
> you're capable of being helped. If you aren't going to learn the basics of
> the request processing cycle (which can also be found i
On 18 Aug 2012, at 13:17, nik600 wrote:
> Thanks for pointing me to the right direction.
>
> I've already tried to change order of execution i'v also tried to use
> APR_HOOK_REALLY_FIRST or APR_HOOK_FIRST or APR_HOOK_MIDDLE but the
> result is the same.
That has nothing to do with it!
Several
Should hook phase be ap_hook_translatename or ap_hook_fixup ?
MATSUMOTO Ryosuke < matsu1229 at gmail.com >
http://blog.matsumoto-r.jp/
On 2012/08/18, at 21:17, nik600 wrote:
> Thanks for pointing me to the right direction.
>
> I've already tried to change order of execution i'v also tried
Thanks for pointing me to the right direction.
I've already tried to change order of execution i'v also tried to use
APR_HOOK_REALLY_FIRST or APR_HOOK_FIRST or APR_HOOK_MIDDLE but the
result is the same.
this is my test code:
**
static int kcache_handler(request_rec*
On 18 Aug 2012, at 09:51, nik600 wrote:
> Is better:
>
> - to read the file and then send is using ap_rprintf
Bad.
> - to use apr_bucket_*
Acceptable.
> - to simply redirect the request changing the r->uri and then return DECLINED.
Yep.
> The strange thing is that i get a 404 error and in