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/