Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Simple cgi problem/w2k

From: tim::johnsons-web::com at: 2-Jan-2002 12:33

* RStar <[Rich--DogSoldier--com]> [020102 11:50]:
> rebol\core woirks fine on win2k pro and server.
You and I know that. :>) Unfortunately some ISPs are refusing to touch it because of the content I pointed out below. (My personal experience) Tim
> check the shebahg line - might need something like > > #!c:/www/rebol/rebol.exe --cgi --script > > or > > #!c:/www/rebol/rebol.exe --cgi --script > > What webserver is being used? If it is Apache make sure that it is > configured properly and then try > > #!c:/www/rebol/rebol.exe -cs > > Rich > DogSoldier.com > > Tim Johnson wrote: > > > > * 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 > > -- > > To unsubscribe from this list, please send an email to > > [rebol-request--rebol--com] with "unsubscribe" in the > > subject, without the quotes. > > -- > ----------------------------------------------------------------------------- > "He who will trade freedom for security will get, nor deserve, > neither" > ---------- > On the net, you either lead the pack or play with the puppies. > ----------------------------------------------------------------------------- > -- > 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