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

Rebol x Linux x Apache

 [1/3] from: castellani-cpt::itautec-philco::com::br at: 21-Jul-2003 8:47


Hi everybody First, escuse me about my english, okay.. I'm an brazilian and I'm learning and is possible to me write some errors... Second, I want to use Rebol in an experience with Apache and Linux.. I want to make an Intranet using Rebol to automatize it, but I'm not sure that's the better way... I know Rebol's a very ver powerfull and simple, but I'm a starter (it's correct ?)... Please, Rebol masters, tell me: how I can start, just it... Many thanks for all and a great hug... Marcelo Castellani

 [2/3] from: SunandaDH:aol at: 21-Jul-2003 8:22


Marcello:
> Second, I want to use Rebol in an experience with Apache and Linux..
Welcome to the list! Apache, Linux and REBOL go together very well. I'm sure you'll have fun and be productive. REBOL runs simply as a CGI under Apache. Here's a simple REBOL CGI as an example. The first line is the shebang (tells Apache where to find REBOL.exe). The -cs sets the security level, The content-type is a standard first print line in any CGI: ;;;;;;;;; #!/bin/rebol/rebol -cs REBOL [ Title: "demo" Author: "Sunanda" Version: 1.0.0 ] print "content-type: text/html^/" print "<head></head>" print "A REBOL cgi" print "Hey, this works" print "" ;;;;;;;;; You'll want to install the CORE version of REBOL on the server -- there have been various reports of VIEW versions not being happy running as CGIs. For inspiration, take a look at REBOL.org -- the script library. That's Apache and REBOL running under UNIX. You might also want to take a look at REBOL Server Pages -- http://www.shlik.org/rsp/ Good luck! Sunanda.

 [3/3] from: yeksoon:neuSteps at: 22-Jul-2003 18:11


Try the tutorial from RT: http://www.rebol.com/docs/cgi1.html YekSoon At 08:47 AM 21-07-03 -0300, you wrote: