Ken Williams > Apache-AuthCookie-2.011 > Apache::AuthCookie
Annotate this POD  Related Modules    Open  1 Stalled  1
View/Report Bugs Module Version: 2.011   Source  
Apache::AuthCookie - Perl Authentication and Authorization via
cookies   Make sure your mod_perl is at least 1.24, with
StackedHandlers, MethodHandlers, Authen, and Authz compiled in.
# In httpd.conf or .htaccess:  PerlModule
Sample::AuthCookieHandler  PerlSetVar WhatEverPath /  PerlSetVar
WhatEverLoginScript /  # scope of your cookie.  Default is the
current domain.  PerlSetVar WhatEverDomain   # Use this to only
send over a secure connection  PerlSetVar WhatEverSecure 1   #
Usually documents are uncached - turn off here  PerlSetVar
WhatEverCache 1   # These documents require user to be logged
in.  <Location /protected>   AuthType Sample::AuthCookieHandler
AuthName WhatEver   PerlAuthenHandler
Sample::AuthCookieHandler->authenticate   PerlAuthzHandler
Sample::AuthCookieHandler->authorize   require valid-user   #
These documents don't r