[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-developers] perl script Internal Server Error
- Subject: RE: [cobalt-developers] perl script Internal Server Error
- From: "Jeff Zanzinger" <webmaster@xxxxxxxxxxxxxxxx>
- Date: Fri Jan 24 07:53:01 2003
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
Thanks!
Well that fixed the problem and I could kick myself for not recognizing
this. Now some more dumb questions. I want to check the version of
perl installed on this raq by
$ perl -v
I believe I need to open a shell account. I tried to connect by windows
xp hyperterminal and can't get connection. I tried GNOME terminal
telnet and don't know how to connect. I tried the command "open" but
don't know how to enter username and pin. I set raq4 Enable Shell
Accounts.
Again your help is greatly appreciated.
Jeff Zanzinger, Data Connection, Inc.
-----Original Message-----
From: cobalt-developers-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-developers-admin@xxxxxxxxxxxxxxx] On Behalf Of
BSmith@xxxxxxxxxxx
Sent: Friday, January 24, 2003 10:30 AM
To: cobalt-developers@xxxxxxxxxxxxxxx
Subject: RE: [cobalt-developers] perl script Internal Server Error
-----Original Message-----
From: Jeff Zanzinger [mailto:webmaster@xxxxxxxxxxxxxxxx]
Sent: Friday, January 24, 2003 10:22 AM
To: cobalt-developers@xxxxxxxxxxxxxxx
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
cobalt-developers@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-developers