Re: where to find request object in mod_perl2

2003-08-29 Thread Stas Bekman
Igor Ivoilov wrote: Hello all, I have perl programs running under Apache::Registry. Now I need to switch to mod_perl2 and can not find request object. I used to get as $r = Apache-request; But this does not work under mod_perl2.

Re: where to find request object in mod_perl2

2003-08-29 Thread Paul G. Weiss
The doc you reference says that Apache-request should be avoided because it is expensive. But does it in fact work? -Paul On Fri, 29 Aug 2003 10:17:57 -0700, Stas Bekman [EMAIL PROTECTED] wrote: Igor Ivoilov wrote: Hello all, I have perl programs running under Apache::Registry. Now I need to

Re: where to find request object in mod_perl2

2003-08-29 Thread Stas Bekman
Paul G. Weiss wrote: The doc you reference says that Apache-request should be avoided because it is expensive. But does it in fact work? Yes. Have you actually read it? That section also explains when it's available. Igor said: this does not work under mod_perl2, without showing any error

RE: where to find request object in mod_perl2

2003-08-29 Thread Igor Ivoilov
Cc: [EMAIL PROTECTED] Subject: Re: where to find request object in mod_perl2 Paul G. Weiss wrote: The doc you reference says that Apache-request should be avoided because it is expensive. But does it in fact work? Yes. Have you actually read it? That section also explains when it's

Re: where to find request object in mod_perl2

2003-08-29 Thread Stas Bekman
Igor Ivoilov wrote: Sorry for not pointing out all details config file FilesMatch \.pl$ SetHandler perl-script PerlHandler ModPerl::Registry::handler PerlOptions +ParseHeaders AddType text/html .pl Options +ExecCGI /FilesMatch my $r = Apache-request; gives