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

Rebol/View/Pro and CGI

 [1/3] from: c:brizell:worc:ac at: 8-May-2001 7:54


I have a very simple rebol cgi script #!/usr/local/rebol/rebol --cgi REBOL[ ] print ["Content-type: text/html" newline] prin "Hello the time now is " print now print "<PRE>" print mold system/options/cgi print "</PRE>" which works as expected!! If I then change the shebang line to point to my licensed version of Rebol/Veiw/Pro 1.1.0.4.2 (Running on Redhat Linux 2.2.14-6 #!/usr/local/view/rebol --cgi I get the following output to my browser ** Near: size: size-text self all [ para para/origin size: size + para/origin para/margin size: size + para/margin ]  Any help with the above would be _MUCH_ appreciated Cheers colinb

 [2/3] from: gchiu::compkarori::co::nz at: 8-May-2001 20:45


On Tue, 8 May 2001 07:54:33 +0100 "Colin Brizell" <[c--brizell--worc--ac--uk]> wrote:
> If I then change the shebang line to point to my licensed > version of > Rebol/Veiw/Pro 1.1.0.4.2 (Running on Redhat Linux > 2.2.14-6
there's a thread here earlier about not using View for cgi -- Graham Chiu

 [3/3] from: gjones05:mail:orion at: 8-May-2001 6:05


> "Colin Brizell" <[c--brizell--worc--ac--uk]> wrote: > > > If I then change the shebang line to point to my licensed > > version of > > Rebol/Veiw/Pro 1.1.0.4.2 (Running on Redhat Linux > > 2.2.14-6 >
From: "Graham Chiu"
> there's a thread here earlier about not using View for cgi
More specifically about not using /View for cgi under Unix/Linux servers in which XWindow libraries are not installed. Apparently, /View requires the libraries to initialize, even if the script does not use /View features. At least that is what I recall. Hope that helps. --Scott Jones