Rebol in CGI mode.
[1/2] from: jwold::minot::com at: 3-Aug-2000 23:46
I am having an extreme amount of difficulty running REBOL in cgi mode. I followed the instructions still a no-go. Running: Apache 1.3.x Latest REBOL ver. All default directories with Apache (i.e. cgi-bin etc..) Jarrett.
[2/2] from: kracik:mbox:dkm:cz at: 4-Aug-2000 10:21
Hi, could you describe the error Apache prints? Apache also logs CGI errors somewhere IIRC. Most of my CGI problems were caused by a wrong path or access rights. Also, the first line ("hashbang") must end with linefeed alone, not CRLF, and should contain full absolute filesystem path, not relative path or virtual website path. These are things to check, in this order: 1. Apache can't find your script 2. Apache can't read your script because it's not readable by others (on Linux, FreeBSD can execute non-readable files) 3. Apache can't execute your script because it's not executable by others 4. Apache can't find REBOL at the path written in your script 5. Apache can't read REBOL 6. Apache can't execute REBOL 7. REBOL ends with an error before the script prints "Content-type: text/html^m^j" You can also check if Apache can execute scripts in different language, for example Perl or shell scripts. This is a script I use for CGI testing: #!/domains/my/cgi-bin/rebol --cgi REBOL  print "Content-Type: text/plain^m^j" print "Hi from REBOL" print mold system/options/cgi print system/version -- Michal Kracik [jwold--minot--com] wrote: