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

[REBOL] Re: Putting Rebol on Server?

From: louisaturk:coxinet at: 6-Nov-2002 22:04

Hi Robert, Sending the following to my ISP enabled them to get things set up right for me: CGI Scripts Before developing REBOL CGI scripts: 1. Set up CGI access on your webserver following instructions from your web provider and the section below on Setting up CGI in Your Web Server. 2. Set up REBOL networking using the set-net command. Setting up CGI in Your Web Server Setting up CGI access is different in every web server. In most cases, once you have the web server set up and serving web pages you will need to enable the execute CGI option, (ExecCGI in Apache) and configure the directory where CGI programs may reside (typically cgi-bin). The final step is to make your CGI scripts runnable. On most UNIX-type systems or those that use Apache or similar web server, make the CGI script readable and executable by all users and have the appropriate header. Refer to Standard Script Header, below. With other web servers, the system may require configuration to execute the REBOL executable for .r extension files and run REBOL with any required options, such as --cgi or -cs. CGI Configuration Under Microsoft IIS To configure CGI for MS IIS, go into the Properties of cgi-bin and and click on the Configuration button. This brings up a configuration requester. Click on Add and enter the location e path to your rebol.exe file like this: C:\rebol\rebol.exe -cs %s %s The two %s %s must be added to make sure it works correctly when passing the script and command line arguments to REBOL. Add the extension or REBOL files and set the last field to PUT, DELETE. The script engine doesn't have to be selected. Hope this helps. Louis At 02:13 AM 11/4/2002 -0800, you wrote: