Apache::AutoLogin

Apache::AutoLogin is an automatic login module based on encrypted cookies for sites using basic authentication.
Download

Apache::AutoLogin Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Marcel M. Weber
  • Publisher web site:
  • http://search.cpan.org/~mmweber/Apache-AutoLogin-0.1/AutoLogin.pm

Apache::AutoLogin Tags


Apache::AutoLogin Description

Apache::AutoLogin is an automatic login module based on encrypted cookies for sites using basic authentication. Apache::AutoLogin is an automatic login module based on encrypted cookies for sites using basic authentication.SYNOPSIS # In httpd.conf or .htaccess put it just # before your basic authentication module # It has the be invoked as a PerlAccessHandler, # because this is just the phase # before authentication! < Location / > PerlModule Apache::AutoLogin PerlAccessHandler Apache::AutoLogin # Set the lifetime of the cookie in days PerlSetVar AutoLoginCookieLifetimeInDays "3" # The encryption key can have any length, but the longer the better PerlSetVar AutoLoginEncryptionKey "abcdefghijklmnopqrstuvwxyz123456" # set the logout page: Important, make # sure that you specify something # that gets not cached by proxies, or # else the cookie won't be invalidated. PerlSetVar AutoLoginLogoutPage "/logout.php" # The name of the cookie PerlSetVar AutoLoginAuthName "AutoLogin rulez" # Here comes the basic authentication # module of any flavour. Apache::AutoLogin # has been tested with AuthPAM and AuthLDAP AuthType Basic AuthName "Apache_AutoLogin example" AuthPAM_Enabled on require valid-user < /Location > # In this example make sure logout.php # can be viewed by the client without authentication! < Location /logout.php > PerlModule Apache::AutoLogin PerlAccessHandler Apache::AutoLogin PerlSetVar AutoLoginCookieLifetimeInDays "3" ## Anything as a key, is not important, cause it will by a random key PerlSetVar AutoLoginEncryptionKey "abcdefghijklmnopqrstuvwxyz123456" PerlSetVar AutoLoginLogoutPage "/logout.php" PerlSetVar AutoLoginAuthName "AutoLogin rulez" Order allow,deny allow from all satisfy any < /Location > Requirements: · Perl


Apache::AutoLogin Related Software