Try running a very simple test script, like this one:

--
#!/home/httpd/cgi-bin/rebol --cgi
REBOL[]
print {Content-Type: text/plain 

hello world!
}
query: make object! decode-cgi-query either
system/options/cgi/request-method = "GET"
[system/options/cgi/query-string] [make string! input]
probe query
quit
--

If this one works, and others don't, then there may be something wrong
with the script itself. Try making a non-CGI version, and see if that
runs. To simulate CGI input, put something like this 

system/options/cgi/request-method = "GET"
system/options/cgi/query-string: "[EMAIL PROTECTED]&name=me"

at the top of your script.

*********** REPLY SEPARATOR  ***********

On 2/11/2000 at 1:27 PM [EMAIL PROTECTED] wrote:

hi,

i have just started using rebol for cgi scripts, and keep getting
internal
server errors even though i have set all the neccessary info for it to
work. i am running on apache under linux.

i have set the content-type to text/html followed by two line breaks as
usual for cgi scripts, file permissions set to read and execute for
user,group,other and the full path to rebol set at the top of the file,
with the --cgi option.

any help on this would be much appreciated 
thank you

Diarmuid Ryan      email: [EMAIL PROTECTED]
Computer Systems          [EMAIL PROTECTED]
2nd Year           web:   http://www.skynet.ie/~dryan
=====================================================
If you choose not to decide, you still have made a choice.



Reply via email to