[REBOL] Re: Simple cgi problem/w2k
From: tim:johnsons-web at: 2-Jan-2002 11:24
* Dr. Louis A. Turk <[louisaturk--eudoramail--com]> [020102 10:16]:
> Mike,
>
> Thanks. I am on a W2K server. Nevertheless, I realize that my script is
> not succeeding in calling the rebol interpreter as I thought.
Louis:
See my previous post...
Was phrased as per windows 98/NT using Personal Web Server.
If you are on a remote server, those instructions may not
be appropriate:
That server is probably using IIS.
Caveats: Some ISPs will not support rebol/core on W2k because
if you examine the content at http://www.rebol.com/platforms.html
no mention is made of win2000 as regards to /core
copy:
Windows 95/98/NT iX86 Released 2.5.0.3.1
HOWEVER: I do note that at
http://www.rebol.com/view-platforms.html
The content DOES show that /view is supported by win2k
copy:
REBOL/View:
Windows 95, 98, 2000, NT, ME, XP (exe)
Windows 95, 98, 2000, NT, ME, XP (zip)
Tim core031.zip
> Louis
>
> At 08:35 AM 1/2/2002 -0500, you wrote:
> >If you are on a Unix/Linux server make sure to chmod +x <your script name
> >here>
> >This makes sure your script is sent as an executable by the web server...
> >
> >HTH!
> >
> >Mike
> >
> >
> >
> >At 03:50 AM 1/2/02, you wrote:
> >>Happy New Years everybody!
> >>
> >>How would you like to start the year off with a nice easy (I hope) to
> >>solve problem? Just what you needed, right? I am trying to learn how to
> >>use cgi scripts. Here is my script:
> >>
> >>#!/www/rebol/rebol.exe --cgi --script
> >>rebol []
> >>print {Content-Type: text/html^/^/}
> >>x: 5 * 8
> >>print x
> >>print {Hi Everybody!}
> >>
> >>If I do this script from the rebol command line, it prints:
> >>
> >>Content-Type: text/html
> >>
> >>
> >>40
> >>Hi Everybody!
> >> >>
> >>
> >>So, I assume that the script is able to find the rebol interpreter.
> >>
> >>But if I load it into a browser it tries to download the file. Why
> >>doesn't it run the script?
> >>
> >>Louis
> >>
> >>
> >>--
> >>To unsubscribe from this list, please send an email to
> >>[rebol-request--rebol--com] with "unsubscribe" in the subject, without the
> >>quotes.
> >
> >--
> >To unsubscribe from this list, please send an email to
> >[rebol-request--rebol--com] with "unsubscribe" in the subject, without the quotes.
>
> --
> To unsubscribe from this list, please send an email to
> [rebol-request--rebol--com] with "unsubscribe" in the
> subject, without the quotes.
--
Tim Johnson <[tim--johnsons-web--com]>
http://www.johnsons-web.com