[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-developers] perl script Internal Server Error



Hi,
Add the following line before print "hello perl";

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

Bye,
Edy

Jeff Zanzinger wrote:

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.




_______________________________________________
cobalt-developers mailing list
cobalt-developers@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-developers

This mail was scanned by RAV AntiVirus
on behalf of GeCAD Software.

--
Eduard Coman
Linux Technical Support Engineer - RAV Division
Tel./Fax: +40-21-321.78.03  Hotline: +40-21-321.78.59;
Please visit http://www.ravantivirus.com
Worry less! RAV is watching.