Hi James,

another guess: some servers choke on wrong line endings, 
e.g. a script written under windows, and then executed on
a Unix machine ...

If possible, try 

  REBOL[]
  write %my-cgi-script.r read %my-cgi-script.r

on the server.


I hope that helps,

Ingo



Once upon a time Brett Handley spoketh thus:
> Hi James,
> 
> I'm not an expert on CGI but to me it appears that the webserver does not
> recognise your script as a CGI so it just picks it up and sends it out as
> the content itself, rather than executing it.  I would guess then that it
> has nothing to do with Rebol, more likely it is file permissions for your
> scripts or some sort of server configuration.  So check the file permissions
> of the old scripts and compare them against the new. Presumably you are
> using the same file extension for both and you are running them from the
> same directory.
> 
> Brett.
> 
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> Sent: Tuesday, December 04, 2001 9:30 AM
> Subject: [REBOL] cgi weirdness
> 
> 
> > The strange thing is that my old scripts work. I'm using the -cs option
> that I have used for years. hmmmmm. This is really bugging me.
> > Help.
> >
> > Thanks,
> > James
> >
> > Submit: Send Message
> >
> > I don't know why but for some reason I can't get NEW cgi scripts to work
> properly. I constantly get the REBOL help output listing (you know the one
> that you get when you ask for help) when I run a cgi program. I've broken it
> down to the simplist of scripts including one of the sample ones.
> > The strange thing is that my old scripts work. I'm using the -cs option
> that I have used for years. hmmmmm. This is really bugging me.
> > Help.
> >
> > Thanks,
> > James
-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to