"George A. Fitch III" wrote:
> 
> Oh Noble and Wise Gurus of Perl,
> 
> I'm having problems running Perl scripts on Apache.  I installed
> Appache 1.3.12, had Perl 522 already installed.  The web server
> works fine with pages, and it can find the script, but it can't
> execute it for some reason.  The message the web browser gives
> is:
> 
> Internal Server Error
> 
> The server encountered an internal error or misconfiguration and was unable
> to complete your request.
> 
> In the error log I found:
> 
> [Fri Oct 27 15:43:55 2000] [error] [client 198.186.19.208] (2)No such file
> or directory: couldn't spawn child process: g:/apache
> group/apache/cgi-bin/test.pl
> 
> Which is different from an error message regarding a missing
> script:
> 
> [Fri Oct 27 12:36:12 2000] [error] [client 198.186.19.208] (2)No such file
> or directory: script not found or unable to stat: g:/apache
> group/apache/cgi-bin/gjh
> 
> I've read my Apache and Perl books, and I haven't found what
> causes this error or how to fix it.  I suspect it has something
> with mapping .pl to Perl.exe, but I can't figure out how to
> do that.  Is this what mod_perl fixes?  Or is that something
> different?

Do you have a proper shebang line in your script?

Check my mini-FAQ on Apache install on my Freeyellow/Webjump sites.

-- 
  ,-/-  __      _  _         $Bill Luebkert   ICQ=14439852
 (_/   /  )    // //       DBE Collectibles   http://www.wgn.net/~dbe/
  / ) /--<  o // //      Mailto:[EMAIL PROTECTED]   http://dbecoll.webjump.com/
-/-' /___/_<_</_</_    http://www.freeyellow.com/members/dbecoll/
_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web

Reply via email to