On Monday 20 August 2001 15:15, Purcell, Scott wrote: > Anyway, I am running Apache 1.3.20 and just began coding a few lines. I > noticed errors in the log file: > "couldn't spawn child process: /apache/cgi-bin/nph-rater.cgi" > > The code (couldn't be any simpler) errors when named 'nph-rater.cgi', but > runs with no issues if I rename that same bit of code to 'test.cgi'. > > > > #! D:\\Perl\\bin; > > use CGI; # load CGI routines > $q = new CGI; # create new CGI object > print $q->header, # create the HTTP header > $q->start_html('hello world'), # start the HTML > $q->h1('hello world'), # level 1 header > $q->end_html; # end the HTML nph- scripts need to produce the entire set of their response headers, including the status line. In order to do that, you need to add the -nph pragma to your list of imports: use CGI qw(-nph); perldoc CGI for the whole story. -- _______________________________________________________________________ Robin Berjon <[EMAIL PROTECTED]> -- CTO k n o w s c a p e : // venture knowledge agency www.knowscape.com ----------------------------------------------------------------------- In which level of metalanguage are you now speaking?