OK I have it. The Debian-supplied version of Apache2::AuthCookie *does* have the patches from the httpd24 branch of authcookie, and the documentation for how to use it is in /usr/share/doc/libapache2-authcookie-perl/README.apache-2.4

My testsite can be made to work like this:

--- testsite.conf.orig    2014-06-25 14:16:51.365038932 +0100
+++ testsite.conf    2014-06-25 14:20:29.974486565 +0100
@@ -3,6 +3,7 @@
 PerlModule Example::AuthHandler
 PerlSetVar TestAuthPath /testsite
 PerlSetVar TestAuthLoginScript /testsite/login.html
+PerlAddAuthzProvider user Example::AuthHandler->authz_handler

 <Location /testsite/>
   ### To recognize logged-in users even outside of protected area:
@@ -16,7 +17,6 @@
   AuthType Example::AuthHandler
   AuthName TestAuth
   PerlAuthenHandler Example::AuthHandler->authenticate
-  PerlAuthzHandler Example::AuthHandler->authorize
   Require valid-user
 </Location>

Unfortunately I'm now battling with Apache2::SiteControl, but that's a different ball game.

Sorry for the noise, but hopefully somebody finds this useful.

Regards,

Brian.

Reply via email to