Just wanted to let everyone know that I have just finished porting the Apache-AuthExpire module to work with both modperl1 and 2. It is a:
# Small mod_perl handler to provide Authentication phase time outs for
# sensitive areas, per realm.
There are some issues with konqueror, mozilla and netscape, but should be a simple fix if someone is watching the headers....
Possible documentation inclusion...?: When using a ternary conditional in conjunction with a conditional operator, I needed to enclose the statement with parentheses to force the ternary conditional to be executed first. For example:
my ($res, $sent_pw) = $r->get_basic_auth_pw;
return $res if $res != (MP2 ? Apache::OK : Apache::Constants::OK); # return not OK status if not OK
Took me a while to catch that... :P
speeves cws