
Apache::AuthExpire - mod_perl handler to provide Authentication time limits on .htaccess protected pages.

In httpd.conf file:
PerlAuthenHandler Apache::AuthExpire
PerlSetVar DefaultLimit <timeout in seconds>
Optional httpd.conf file entry:
PerlSetVar TIMEOUT_DEBUG <0 || 1>
Turns debugging on to print messages to server error_log
Optional .htaccess entries:
PerlSetVar TimeLimit <time>
or
PerlSetVar MODE Off # to turn off timeouts
# Will provide further methods later.

Simple mod_perl handler for the AUTHENTICATION phase to set a limit on user inactivity. Will provide timeouts to any file under the protection of an .htaccess file, unless the 'MODE' option set to anything other than 0 in the .htaccess file. The 'DefaultLimit' is set via the httpd.conf file, and unless the user specified 'TimeLimit' is set and less than the 'DefaultLimit', determines the length of time a user can be inactive. This handler can be set anywhere an AUTHENTICATION handler can be specified.
Does not work well with all browsers at this stage, please see mod_perl guide for more information.

None by default.

J. J. Horner jjhorner@bellsouth.net

perl and mod_perl.

Can be downloaded from http://www.2jnetworks.com/~jhorner/Apache-AuthExpire.tar.gz

plaid and merlyn from http://perlmonks.org/ for general help and debugging.