[REBOL] Re: CGI help
From: allenk:powerup:au at: 28-Jul-2001 10:02
Ryan,
A small checklist..
Is it on Apache?
Have you set the script file as executable permission with chmod 755 ?
Is the "#!/usr/bin/rebol -cs" line the first line with no other white space
before it?
If it is IIS, you don't get away as easily as uploading the rebol.exe, you
have to have a file association set for the server.
Cheers,
Allen K
----- Original Message -----
From: "Ryan Cole" <[ryanc--iesco-dms--com]>
To: <[rebol-list--rebol--com]>
Sent: Saturday, July 28, 2001 8:15 AM
Subject: [REBOL] Re: CGI help
> Whats the URL to your CGI?
>
> Ryan wrote:
>
> > Hi all,
> > I've been trying to put a CGI form I wrote in rebol up on a website and
I can't seem to get it to work. I've uploaded rebol.exe to the FTP
directory, and have changed the path in the rebol file accordingly. I also
changed the "action=" attribute in the form tag to point to the location of
the script. But when I have been testing the form, the browser looks like
it is trying to pull the code to the rebol file up as if it would an HTML
document, and printing a "Page cannot be displayed" error. What am I doing
wrong?