The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

SYNOPSIS

  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.

DESCRIPTION

  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.

Caveats

  Does not work well with all browsers at this stage, please see
  mod_perl guide for more information.
  

EXPORT

None by default.

AUTHOR

J. J. Horner jjhorner@bellsouth.net

SEE ALSO

perl and mod_perl.

LOCATION

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

CREDITS

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