Federico M. wrote:
Sorry, this is my source.


#!/usr/bin/perl my $r=shift; $r->send_http_header('text/plain');
[...]
ERROR: Can't call method "send_http_header" on an
undefined value at scan2.cgi line 3.

bizarre, are you sure you don't have some other config and it tries to run it under mod_cgi instead? replace this with a simple test:


#!/usr/bin/perl
print "Content-type: text/plain\n\n";
print "Running under mod_" . ($ENV{MOD_PERL} ? "perl" : "cgi");


-- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com

--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to