Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: Dev

Apache2::HookRun question

 

 

ModPerl dev RSS feed   Index | Next | Previous | View Threaded


thomas.lindgren at diino

Aug 19, 2009, 1:59 AM

Post #1 of 1 (1018 views)
Permalink
Apache2::HookRun question

Hi all,

I was directed here after asking around regarding the following. I hope this
is the right place.

I'm trying to use Apache2::HookRun according to the example provided in
http://perl.apache.org/docs/2.0/api/Apache2/HookRun.html

Two problems so far:

1. Apache2::RequestRec doesn't appear to provide a new() method, so the
example fails.
2. A subsequent "$r->location_merge($path);" seems, according to the
comments, to be required or bad things will happen -- but $path isn't
declared or defined, and location_merge() seems not to be a method for
Apache2::RequestRec either.

Okay, so the example code seems a bit broken. Does anyone know how it should
be fixed/rewritten? Thanks.

(In the greater scheme of things, I'm trying to get mod_perl to dryrun the
authn/authz phases with config, handlers, .htaccess and all, and provide the
results "as a service". HookRun seemed like an ideal way to implement that,
but if there are better ways of getting there, I'd also appreciate any
pointers.)

Best,
Thomas

ModPerl dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.