Apache::AuthCookie::FAQ3pm
Frequently asked questions about apache::authcookie.
Version
version 3.32
Overview
This document serves to answer the most frequently asked questions about Apache::AuthCookie.
How can I protect an entire site (/) with Apache::AuthCookie?
You have to give an Apache "require" directive that applies to all requests for except for your login handler. The easiest way to do this is to override the auth handlers for your login script. For example, if your login handler is "/LOGIN", then you need to use something like the following:
<Location />AuthType My::AuthCookieHandlerAuthName WhateverPerlAuthenHandler My::AuthCookieHandler->authenticatePerlAuthzHandler My::AuthCookieHandler->authorizerequire valid-user</Location><Location /LOGIN>PerlAuthenHandler Apache2::Const::OKPerlAuthzHandler Apache2::Const::OK</Location>...
Source
The development version is on github at <https://github.com/mschout/apache-authcookie> and may be cloned from <https://github.com/mschout/apache-authcookie.git>
Copyright and license
This software is copyright (c) 2000 by Ken Williams.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Releases
7 releases since Debian 7 (Wheezy); the text changed 6 times.