Re: $r->requires and register_auth_provider

2015-12-23 Thread Sergei Gerasenko
ing the requires >> into an array. >> Haven't looked at that yet. >> >> On Tue, Dec 22, 2015 at 11:06 AM, A. Warnier > a...@ice-sa.com>> wrote: >> >> Hi Sergei. >> My turn to thank you for providing the information below (and also to >>

Re: $r->requires and register_auth_provider

2015-12-22 Thread Sergei Gerasenko
It didn’t happen that way unfortunately. The handler was called once for each require. Maybe I was doing something wrong. > On Dec 22, 2015, at 5:19 PM, André Warnier (tomcat) wrote: > > The way in which I understand the pod and the code, is that you don't have to > do anything to get the requ

Re: $r->requires and register_auth_provider

2015-12-22 Thread Sergei Gerasenko
ould be to use the Apache2::Directive > module (http://perl.apache.org/docs/2.0/api/Apache2/Directive.html), to > obtain the Require via the server's configuration tree. > That should be independent of the specific Apache version being used. > > > On 20.12.2015 03:35, Sergei

Re: $r->requires and register_auth_provider

2015-12-22 Thread Sergei Gerasenko
ot;Require" that you need. Why don't you give it a try ? > > Another way that I can think of, would be to use the Apache2::Directive > module (http://perl.apache.org/docs/2.0/api/Apache2/Directive.html), to > obtain the Require via the server's configuration tree. >

$r->requires and register_auth_provider

2015-12-19 Thread Sergei Gerasenko
Hello, I’m using mod_perl-2.0.8-10 and I’ve been googling for days for this info w/o any luck. I need to access the value for the Require directive in the apache configs. I need to access that info in my authorization handler (PerlAuthzHandler). It used to be that $r->requires provided that in