Paul.Matt,ged and others on the ring, at last the problem is solved........
regards, ANAND , PDM Programmer, www.dsmsoft.com ----- Original Message ----- From: Paul Makepeace <[EMAIL PROTECTED]> To: Matt Sergeant <[EMAIL PROTECTED]> Cc: Ged Haywood <[EMAIL PROTECTED]>; Anand R <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, December 14, 2001 3:18 PM Subject: Re: [SOLUTION] Can't call Apache::Request->new() > On Fri, Dec 14, 2001 at 09:20:06AM -0000, Matt Sergeant wrote: > > I think I know what's happening here. Your script is running as a CGI, not > > as mod_perl. Check: > > > > print "not " unless $ENV{MOD_PERL}; > > print "running under mod_perl\n"; > > Yup, this is it. Grrr, seems like my <Files /perl-bin/*.cgi> was > the problem. > > <Directory /home/wwwrp/perl-bin> > <Files *.cgi> > SetHandler perl-script > PerlHandler Apache::Registry > Options +ExecCGI > PerlSendHeader On > </Files> > </Directory> > > Thanks Matt & all! > > D'oh, > Paul > > [1] http://httpd.apache.org/docs/mod/core.html#files > > > > > Matt. > > -- > > <:->Get a smart net</:-> > > -- > Paul Makepeace ....................................... http://paulm.com/ > > "If the car doesn't start in the rain, then all would be revealed." > -- http://paulm.com/toys/surrealism/