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

[REBOL] Re: APACHE + REBOL as CGI?

From: matt:blis at: 14-Sep-2001 16:31

Carlos Lorenz <[carlos--lorenz--net]> wrote on 30/07/01 16:17:20:
>Hi friends, > >Im trying to run some CGI in REBOL on the server but have no success. > >According to the support team (that loves PERL) their machines (running >APACHE) are not configured to support REBOL as CGI. > >My question is: is really necessary to configure APACHE to recognizes >REBOL scripts or can I just upload REBOL.EXE to a subdirectory under >my space and from there use it to run my scripts? >
Hi Carlos. I did this: 1. Put rebol executable in location like /usr/bin/rebol/ 2. Initialise rebol network via telnet or editing the user.r file 3. create scripts with .cgi ending 4. Set shebang to #!/usr/bin/rebol/rebol --cgi Worked like a charm, without needing to update any apache conf files. I think apache has built in support for .cgi files. Hope this is of some use. Matt.