On Tue, Oct 21, 2014 at 2:37 AM, Scott Alexander <scott.alexan...@humak.fi>
wrote:

>  Hi,
>
>
>  I'm moving from Centos 6 to Centos 7, httpd is 2.4.6
>
>
>  Trying to get
>
> Apache2::AuthCookie to work with my module for authentication.
>
>
> Hello Scott,

You are not alone. with 2.4, you have to relearn all the quirks in the
configuration from when you first started using mod perl v2.


>  I've seen one message about useful information in the debian file
>
> /usr/share/doc/libapache2-authcookie-perl/*README.apache-2.4*
>
>
>  Does anyone have that? Any other pointers would be greatly appreciated.
>
Did you install it via a package manager or download source from the
AuthCookie github?

You can find that file here:
https://github.com/mschout/apache-authcookie/tree/httpd24


>
>  I'm getting in my error log file
>
>
>  No authentication done but request not allowed without authentication
> for loginscript Authentication not configured?
>
>
> Yah, the configuration is quite tricky.

Basically, this error is saying that the authentication is required, but
the handlers didn't run properly, or weren't configured properly .

Here is an example that I have:

PerlAddAuthzProvider user Apache2::AuthCookie24->authz_handler
<Location /perl-status>
      PerlAuthenHandler Apache2::AuthCookie24->authenticate
      AuthName LDAPLogin
      AuthType Apache2::AuthCookie24
      require group admins

      ....set perl handler ....

</Location>

   Terveisin/Regards
>
> *Scott Alexander*
> Järjestelmäasiantuntija  Systems Specialist
>
> HUMAK
> Humanistinen ammattikorkeakoulu
> University of Applied Sciences
> www.humak.fi
>
> Tel. +358 (0)50 411 9556
> scott.alexan...@humak.fi
>

Reply via email to