[REBOL] Re: Free REBOL Servers
From: brett:codeconscious at: 9-Jan-2001 11:56
One more thing. The server gives me an unhelpful "configuration error"
message if I get the headers screwed up.
I've used the following script to test configuration - it works.
#!/directory-holding-the-rebol-executable/rebol --cgi
REBOL []
print "Content-type: text/html^m^j"
print "<HTML><BODY><PRE>"
print "script-name: test.r.cgi"
print join "script-time: " now
print join "rebol-system-version: " system/version
print mold system/options/cgi
print "</PRE></BODY></HTML>"
quit