Gossamer Forum
Home : General : Perl Programming :

CGI not working under WinXP... plz help :)

Quote Reply
CGI not working under WinXP... plz help :)
Hi!

I have finally managed to install and set up Apache 2 server and PHP 4 on my Windows XP PC. Everything works fine, but I can't get CGI to work. I have installed Active Perl 5.8 in a "c:\perl" directory. I have found a manual how to set it up, and have followed it to the letter, but I can't run any CGI scripts in my browser. I have tries both *.cgi and *.pl extensions. The manual I have followed can be found on http://visca.com/...rl_apache_win9x.html I can run perl scripts in my command (DOS) window, so that means that perl is probably installed properly. When I try to open a webpage with the same code I get an 500 Internal Server Error. In the apache error logs the error is described as

[Wed Mar 12 17:45:53 2003] [error] [client 127.0.0.1] (OS 2)The system cannot find the file specified. : couldn't create child process: 720002: first.pl
[Wed Mar 12 17:45:53 2003] [error] [client 127.0.0.1] (OS 2)The system cannot find the file specified. : couldn't spawn child process: C:/localhost/cgi-bin/first.pl


Any help greatly appreciated,

Jerry

P.S. The apache config file should be attached (not sure how this works though :))
Subject Author Views Date
Thread CGI not working under WinXP... plz help :) jerryau 8718 Mar 12, 2003, 12:19 AM
Thread Re: [jerryau] CGI not working under WinXP... plz help :)
jerryau 8516 Mar 12, 2003, 1:33 AM
Thread Re: [jerryau] CGI not working under WinXP... plz help :)
yogi 8500 Mar 12, 2003, 1:41 AM
Thread Re: [yogi] CGI not working under WinXP... plz help :)
Wil 8549 Mar 12, 2003, 2:25 AM
Thread Re: [Wil] CGI not working under WinXP... plz help :)
wysardry 8520 Mar 12, 2003, 4:36 AM
Post Re: [wysardry] CGI not working under WinXP... plz help :)
Wil 8543 Mar 12, 2003, 4:42 AM
Thread Re: [wysardry] CGI not working under WinXP... plz help :)
Paul 8538 Mar 12, 2003, 5:13 AM
Thread Re: [Paul] CGI not working under WinXP... plz help :)
Wil 8474 Mar 12, 2003, 5:44 AM
Thread Re: [Wil] CGI not working under WinXP... plz help :)
Paul 8466 Mar 12, 2003, 6:27 AM
Thread Re: [Paul] CGI not working under WinXP... plz help :)
Wil 8452 Mar 12, 2003, 6:56 AM
Post Re: [Wil] CGI not working under WinXP... plz help :)
Paul 8468 Mar 12, 2003, 7:07 AM
Thread Re: [jerryau] CGI not working under WinXP... plz help :)
Paul 8485 Mar 12, 2003, 2:28 AM
Post Re: [Paul] CGI not working under WinXP... plz help :)
jerryau 8508 Mar 12, 2003, 2:59 AM