Re: Access to Server and Request objects under Registry

2008-04-16 Thread Philippe M. Chiasson
Artem Kuchin wrote: Hello! Is there any way to access server and request objects when script is running under Registry? # From the top-level my $r = shift; OR # PerlOptions +GlobalRequest # Apache2::RequestUtil (http://perl.apache.org/docs/2.0/api/Apache2/RequestUtil.html#C_request_) use Apa

Re: Access to Server and Request objects under Registry

2008-04-16 Thread adam . prime
my $r = shift; at the top of your file running under registry should work. You can also use Apache->request in mp1, or Apache2::RequestUtil->request in mp2 (if you're using the prefork mpm) Adam Quoting Artem Kuchin <[EMAIL PROTECTED]>: Hello! Is there any way to access server and requ