script-error
on my notebook i set up an apache-server, as 'localhost'. everything's fine, except my scripts, they just don't work... (internal server error).
in the error-log of apache is this message:
No such file or directory: couldn't spawn child process: d:/programme/apache group/apache/cgi-bin/hello.pl
what's wrong with my apache, perl, scripts, or whatever?
thanks for your help.
Orpheus posted this at 00:18 — 30th May 2000.
They have: 568 posts
Joined: Nov 1999
1) make sure you edited the .htaccess file to support Perl
2) check the path at the top of your script to make sure it reads #!c:\perl\bin\perl.txt
merlin posted this at 13:02 — 30th May 2000.
They have: 410 posts
Joined: Oct 1999
yepp, found it!
my httpd.conf looks like this:
AccessFileName .htaccess
<Files .htaccess>
Order allow,deny
Deny from all
</Files>
(i deleted the comments) since i haven't changed anything after set up, i'd say, that's ok. (and it is, as i know now)
so edited in my system-settings the 'path' (added my perl-path), at the first line i only have #!perl.exe now. and that's working.
well, thank you again, orpheus for your help!
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.