>> I would investigate other methods before trying this (such as the
>> ideas Stas
>> had), but the short answer is that yes, you can call core functions
>> directly.  see recipe 8.9 in the mod_perl developer's cookbook.
>>
>>   http://www.modperlcookbook.org/code/ch08/Cookbook/MIMEMagic.pm
> 
> 
> Ah, sorry, I'm lost in the sea of methods -- I think we have exactly
> what you want. It should appear in here:
> http://perl.apache.org/docs/2.0/api/Apache/HookRun.html
> when I eventually get to document it, but for now see the example here:
> http://perl.apache.org/docs/2.0/user/handlers/protocols.html#Command_Server
> You are after run_access_checker which does exactly what you want.

yeah, I figured something like that would be lingering around - looks like
all the cool 1.0 hacks have been assimilated into 2.0 core by now.  I guess
we were just ahead of the game ;)

--Geoff

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to