I just installed the "XAMPP Windows 1.4.12" package on my
Windows Xp computer and it works fine except for one detail.
When i try to run one of my cgi scripts i get a error 500.
"The server encountered an internal error or misconfiguration and was unable to complete your request."
In the error log it says like this:
[Mon Mar 14 15:57:57 2005] [error] [client 127.0.0.1] Premature end of script headers: backupsmanager.cgi
[Mon Mar 14 15:57:58 2005] [error] [client 127.0.0.1] Can't locate CGI.pm in @INC (@INC contains: .) at D:/minixampp/xampp/cgi-bin/backupsmanager.cgi line 826.\r
[Mon Mar 14 15:57:58 2005] [error] [client 127.0.0.1] BEGIN failed--compilation aborted at D:/minixampp/xampp/cgi-bin/backupsmanager.cgi line 826.\r
I have put in the right path (#!D:\minixampp\xampp\perl\bin\perl.exe)
in the script but i still get this error ?
I then tried another cgi script that supposedly should help to give all the right pathes, but then i get this error:
[Mon Mar 14 16:13:19 2005] [error] [client 127.0.0.1] (OS 3)The system cannot find the path specified. : couldn't create child process: 720003: searcher.cgi
[Mon Mar 14 16:13:20 2005] [error] [client 127.0.0.1] (OS 3)The system cannot find the path specified. : couldn't spawn child process: D:/minixampp/xampp/cgi-bin/searcher.cgi
It's strange cause the "perltest.cgi" script seems to work fine.
When i click it in the browser it says:
GCI with MiniPerl
CGI with MiniPerl is ready ...
Do i have to have the Perl 1.4.12 addon installed for this to work or
is it a configuration issue ?