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 <[email protected]> wrote:

> Date: Wed, 22 Apr 2015 16:34:40 +1000
> From: Jie Gao <[email protected]>
> To: [email protected]
> 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 

Reply via email to