Apache::Htpasswd::Perishable - Perl extension for expiring htaccess entries


Apache-Htpasswd-Perishable documentation  | view source Contained in the Apache-Htpasswd-Perishable distribution.

Index


NAME

Top

Apache::Htpasswd::Perishable - Perl extension for expiring htaccess entries

SYNOPSIS

Top

  use Apache::Htpasswd::Perishable;

DESCRIPTION

Top

This module allows you to define and extend an expiration date that is put into the extra-info field of an .htpasswd entry like:

  username:encrypted-password:extra-info




METHODS

This module inherits all methods from Apache::Htpasswd, and also adds:

expire() - expire($username,$days_from_today). (over)writes the extra-info field of an .htpasswd entry. Calling expire($username) returns the number of days until expiration.

extend() - extend($username,$days_from_expiration). extends the expiration date in the extra-info field of a .htpasswd entry by $days_from_expiration days.

AUTHOR

Top

Allen Day <allenday@ucla.edu>

SEE ALSO

Top

perl. Apache::Htpasswd. Date::Simple.


Apache-Htpasswd-Perishable documentation  | view source Contained in the Apache-Htpasswd-Perishable distribution.