perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jie Gao <J....@sydney.edu.au>
Subject Re: Apache 2.4: How to get to "require" now?
Date Thu, 23 Apr 2015 08:49:25 GMT
Still fumbling, but I have found out how to get to a bit of it now:

---
sub authz_handler {
    my $self = shift;
    my $r = shift;
    my $requires = shift;
---

It looks like the handler gets called for each Require* directive(?). 


Regards,

Jie 

* Jie Gao <J.Gao@sydney.edu.au> wrote:

> Date: Wed, 22 Apr 2015 16:34:40 +1000
> From: Jie Gao <J.Gao@sydney.edu.au>
> To: modperl@perl.apache.org
> Subject: Apache 2.4: How to get to "require" now?
> User-Agent: Mutt/1.5.21 (2010-09-15)
> 
> Hi 
> 
> Now that "ap_requires" is gone in Apache 2.4, "Apache2::RequestRec->requires" is also
no longer available in mod_perl.
> 
> How do I get to things like "Require valid-user" now?
> 
> Regards,
> 
> 
> Jie 

Mime
View raw message