Apache::AuthCookie::FAQ(3pm)

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::AuthCookieHandler
   AuthName Whatever
   PerlAuthenHandler My::AuthCookieHandler->authenticate
   PerlAuthzHandler My::AuthCookieHandler->authorize
   require valid-user
 </Location>
 <Location /LOGIN>
   PerlAuthenHandler Apache2::Const::OK
   PerlAuthzHandler 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>

Releases

7 releases since Debian 7 (Wheezy); the text changed 6 times.

  1. 7
  2. 8
  3. 9
  4. 10
  5. 11
  6. 12
  7. 13

Bugs

Please report any bugs or feature requests on the bugtracker website <https://github.com/mschout/apache-authcookie/issues>

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

Author

Michael Schout <[email protected]>

From libapache2-authcookie-perl 3.32-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.