perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Perrin Harkins" <per...@elem.com>
Subject Re: Executing CGI programs from within mod_perl
Date Wed, 05 Mar 2008 01:19:03 GMT
On Thu, Feb 28, 2008 at 9:47 PM, Colin Wetherbee <cww@denterprises.org> wrote:
>  I've tried both with the $r that gets passed into handler and the $r
>  from Apache2::RequestUtil->request.

Both of those should have worked.  What happened?

>  Is there any way around this short of setting +GlobalRequest?

Calling Apache2::RequestUtil->request() requires this to be on, but
the $r that gets passed to the handler does not.

>  I believe
>  I've read before that there's a performance hit if +GlobalRequest is set.

Only if you're running a threaded MPM.  Unless you're on Windows, you
should not be running threads.

- Perrin

Mime
View raw message