From feeley@iro.umontreal.ca Tue Dec 13 14:38:58 2011 From: Marc Feeley To: gambit-list@iro.umontreal.ca Subject: Re: [gambit-list] cgi in Gambit Date: Tue, 13 Dec 2011 14:38:31 -0500 Message-ID: <8523A35E-BDCC-4492-BF74-2522613ECC5C@iro.umontreal.ca> In-Reply-To: <1323803769.11114.YahooMailClassic@web31803.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3492679242574879454==" --===============3492679242574879454== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On 2011-12-13, at 2:16 PM, Eduardo Costa wrote: > #! ./gsi-script -:d- >=20 > (display "Content-type: text/html") > (newline) > (newline) > (display=20 > " > >

Hello from Gambit

> > " ) > (newline) >=20 >=20 > Here is the message that I get from Hostgator both for the scripting versio= n and the compiled version: >=20 It is very probable that the current-directory that is in effect when the CGI= script is executed is **not** the one that contains the gsi-script executabl= e. Please: 1) figure out where the gsi-script executable is on the **server** machine (f= or example, /usr/bin/gsi-script) 2) put the complete path of the gsi-script executable in the first line of yo= ur script, i.e. #! /usr/bin/gsi-script -:d- ... An alternative that might work on the server is to use #! /usr/bin/env gsi-script -:d- This assumes that the PATH is properly setup on the server. Marc --===============3492679242574879454==--