View previous topic :: View next topic |
Author |
Message |
DarkX -
Joined: 30 Jan 2007 Posts: 2
|
Posted: Tue Jan 30, 2007 9:07 pm Post subject: Error 500 and Broken Pipe |
|
|
(Announce: I'm chilean and my english is bad >.<!)
Hi people...
I have the same problem of every new Perl Programmers... Error 500 and Broken Pipe...
Here is my Test Script:
Code: |
#!C:\Perl\bin\perl.exe
print "Hello World";
|
Here my Perl Configuration:
Interpeter: C:\Perl\bin\perl.exe
Arguments: -wT
Type: ActivePerl ISAPI
When I run my script, I got this error (by cgi.log file):
CGI: [C:\Perl\bin\perl.exe -wT index.pl ] URI: /cgi-bin/index.pl Broken pipe
I need somebody help me please... |
|
Back to top |
|
|
Axis -
Joined: 29 Sep 2003 Posts: 336
|
Posted: Tue Jan 30, 2007 11:44 pm Post subject: |
|
|
#!C:\Perl\bin\perl.exe
print "Content-type: text/plain\n";
print "\n";
print "Hello World!\n";
You needed to print content type as in above. If this does not work it means you need to make sure you have perl correctly installed and configured in "scripting parameters."
Regards,
Axis |
|
Back to top |
|
|
DarkX -
Joined: 30 Jan 2007 Posts: 2
|
Posted: Wed Jan 31, 2007 3:29 pm Post subject: |
|
|
Thanks Axis!
But I've resolved the problem myself >.<!
Thanks anyway >.<! |
|
Back to top |
|
|
|