Re: Can't locate object method cgi_env

2003-07-28 Thread Stas Bekman
ColinB wrote: --- Stas Bekman <[EMAIL PROTECTED]> wrote: Stas Bekman wrote: ColinB wrote: One of the scripts sets up a request handler, but when it tries to execute: $r->cgi_env(AB_AUTHHOST=>$host); I have never used that API, but I believe you misuse it. I think it should be: $r->subproc

Re: Can't locate object method cgi_env

2003-07-28 Thread ColinB
--- Stas Bekman <[EMAIL PROTECTED]> wrote: > Stas Bekman wrote: > > ColinB wrote: > >> One of the scripts sets up a request handler, but when it tries to > >> execute: > >> > >> $r->cgi_env(AB_AUTHHOST=>$host); > > > > > > I have never used that API, but I believe you misuse it. I think it > > s

Re: Can't locate object method cgi_env

2003-07-28 Thread Stas Bekman
Stas Bekman wrote: ColinB wrote: I'm trying to get some perl scripts that work OK under mod_perl 1 working in mod_perl 2. I'm therefore using the mod_perl 1 backward compatiblity, and also the Apache::Registry from mod_perl 1 (as described in the mod_perl 2 documentation to get around the chdir()

Re: Can't locate object method cgi_env

2003-07-28 Thread Stas Bekman
ColinB wrote: I'm trying to get some perl scripts that work OK under mod_perl 1 working in mod_perl 2. I'm therefore using the mod_perl 1 backward compatiblity, and also the Apache::Registry from mod_perl 1 (as described in the mod_perl 2 documentation to get around the chdir() problem). One of the

Can't locate object method cgi_env

2003-07-28 Thread ColinB
he scripts sets up a request handler, but when it tries to execute: $r->cgi_env(AB_AUTHHOST=>$host); the following error appears in the httpd log file: Can't locate object method "cgi_env" via package "Apache::RequestRec" at /path/to/perl/lib/site_perl/Apache/MyModu