Re: Information on using Apache2::AuthCookie with httpd 2.4

2014-11-04 Thread Michael Schout
Hi,

AuthCookie maintainer here.

Basically I wouldn't advise deploying mod_perl against httpd 2.4 at this
time.  There is still no official mod_perl release that supports apache
2.4.  In addition, the authorization API has been completely rewritten
in apache 2.4, which means that all of your authcookie subclasses will
need to be updated as well.

As Lathan has already mentioned, there is alpha support for this
available in the git tree if you really want to try, but if I were you,
I'd still with apache 2.2 at least until there is a stable mod_perl
available for apache 2.4.

Regards,
Michael Schout


Re: Information on using Apache2::AuthCookie with httpd 2.4

2014-10-24 Thread Scott Alexander
HI,


Okay thanks for your help. In the end I decided to remove centos 7.0 and go for 
6.5.


6.5 has httpd 2.2.


Regards
 Scott
mailto:scott.alexan...@humak.fi

From: Lathan Bidwell lat...@andrews.edu
Sent: 21 October 2014 18:21
To: mod_perl list
Subject: Re: Information on using Apache2::AuthCookie with httpd 2.4

On Tue, Oct 21, 2014 at 2:37 AM, Scott Alexander 
scott.alexan...@humak.fimailto: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.fihttp://www.humak.fi/

Tel. +358 (0)50 411 9556tel:%2B358%20%280%2950%20411%209556
scott.alexan...@humak.fimailto:scott.alexan...@humak.fi



Re: Information on using Apache2::AuthCookie with httpd 2.4

2014-10-21 Thread Lathan Bidwell
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