[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PerlAuthenHandler called twice?


Hi,

just a minor question:


I am currently porting an older authentication module written some years ago
for Apache1.3 and perlmod to Apache2.2 and perlmod2. 


For some reason the module is called twice for every request. 



The old version checked $r->is_initial_req and $r->is_main to detect
subrequests.


Now I do check $r->is_initial_req() to be true and $r->main() to return
undefined/false values, but still get every request twice. 


As far as I understood the docs, the PerlAuthenHandler is not called in the
response phase. But what's the reason for being called twice?

regards
Hadmut

 


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.