-----Original Message-----
From: Jeff Zanzinger [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 24, 2003 10:22 AM
To: [EMAIL PROTECTED]
Subject: [cobalt-developers] perl script Internal Server Error


Hello,

I'm trying to get a simple perl script to run on a newly installed raq4.


I FTP'd test.pl to /web/cgi-bin/test.pl  and the file contents are:  

#!/usr/bin/perl -w
print "hello perl";

I type http://209.114.220.30/cgi-bin/test.pl in a browser and it returns
an Internal Server Error.

Permissions on file are okay and transfer was done in ASCII.

Any help on this simple problem is greatly appreciated!


Jeff Zanzinger, Data Connection, Inc.
_______________________________________________

It is because you are NOT printing a header along with your output.
You will need the following:

print "Content-type: text/html\n\n";

Add that before your hello world.

_______________________________________________
cobalt-developers mailing list
[EMAIL PROTECTED]
http://list.cobalt.com/mailman/listinfo/cobalt-developers

Reply via email to