[Xitami] CGI

Axel Bohler xitami@lists.xitami.org
Mon, 24 Mar 2003 08:29:31 +0100


Hi,

Change your first line to:

#!perl

print "content-Type: text/html\n\n";
print "<html><body>Hello Perl!</body></html>";


Axel

-----Original Message-----
From: xitami-admin@lists.xitami.org
[mailto:xitami-admin@lists.xitami.org] On Behalf Of Sam Torno
Sent: den 24 mars 2003 06:10
To: xitami@lists.xitami.org
Subject: [Xitami] CGI

I cannot for the life of me get my cgi-bin to work.  I keep ending up
with "500
- Internal Server Error".  None of the logs tell me anything.  I've
looked at
both the FAQ and the online help.  Below is the Perl program I'm
attempting to
use:

#! C:\Perl\Bin
print "Content-Type: text/html\n\n";
print "<html><body>Hello Perl!</body></html>";

Yes, I do have Perl installed to C:\Perl\Bin, and yes, perl.exe is
located
within that dir.  I have my main server directory on the "Z:\Server" and
cgi-bin dir on "Z:\Server\cgi-bin".

Any tips?  Many thanks in advance.

__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

--
Xitami Users Mailing List -- For Xitami support
To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami