Re: Apache 2.4: How to get to "require" now?

Jie Gao <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.