Re: Recognizing user in PerlFixupHandler

2018-03-12 Thread tomcat
Hi. I do use similar (but a bit less clever) code in one of my modules : if (my $prev = ($r->main || $r->prev)) { $logger->warn("$pfx sub-request or internal redirect") if ($debug > 2); # we are in a subrequest. ... if (defined(my $uid =

Re: Recognizing user in PerlFixupHandler

2018-03-12 Thread pali
Hi Yenya! On Monday 12 March 2018 16:15:07 Jan Kasprzak wrote: > https://my.server/index.pl works correctly (has non-empty $r->user), but > https://my.server/ without /index.pl suffix has empty $r->user, even though This looks like an apache's internal redirect... > I have verified that the

Recognizing user in PerlFixupHandler

2018-03-12 Thread Jan Kasprzak
Hello, mod_perl users, I have a cookies-based authentication similar to Apache2::AuthCookie, and I have problem with setting up authentication with recognizing users in PerlFixupHandler also for URLs accessible even without authentication (similar to what