Error 500 and Broken Pipe

 
Post new topic   Reply to topic    Aprelium Forum Index -> Perl
View previous topic :: View next topic  
Author Message
DarkX
-


Joined: 30 Jan 2007
Posts: 2

PostPosted: Tue Jan 30, 2007 9:07 pm    Post subject: Error 500 and Broken Pipe Reply with quote

(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 View user's profile Send private message
Axis
-


Joined: 29 Sep 2003
Posts: 336

PostPosted: Tue Jan 30, 2007 11:44 pm    Post subject: Reply with quote

#!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 View user's profile Send private message
DarkX
-


Joined: 30 Jan 2007
Posts: 2

PostPosted: Wed Jan 31, 2007 3:29 pm    Post subject: Reply with quote

Thanks Axis!

But I've resolved the problem myself >.<!

Thanks anyway >.<!
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> Perl All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group