perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anand R" <ana...@dsmsoft.com>
Subject Re: [SOLUTION] Can't call Apache::Request->new()
Date Fri, 14 Dec 2001 12:54:59 GMT
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 <Paul.Makepeace@realprogrammers.com>
To: Matt Sergeant <msergeant@startechgroup.co.uk>
Cc: Ged Haywood <ged@www2.jubileegroup.co.uk>; Anand R <anandr@dsmsoft.com>;
<modperl@apache.org>
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/



Mime
View raw message