I am attempting to redirect certain users during the authentication phase
to support password expiration management. I am not having success
building it directly into the authentication module and think it may be
perhaps that the internal REDIRECT constant is ignored if given outside of
a content handling phase. Could someone confirm this thought? I was
attempting this bit of code:
if ($expired eq 'true') {
$r->content_type('text/html');
$r->header_out(Location => $redirect);
return REDIRECT;
}
The behavior from this bit of code is just as if I had returned OK.
My other idea is to just write a note on the board and have a downstream
content handler do the redirection, but I was hoping to roll it all into
one package, since the problem, password expiration, is most directly tied
to authentication.
Thanks,
Christian
-----------------
Christian Gilmore
Team Lead
Web Infrastructure & Tools
IBM Software Group