[REBOL] Re: CGI with Apache under Windows 2000
From: petr:krenzelok:trz:cz at: 23-Apr-2002 15:22
You have to configure Apache in httpd.conf file. Put something like
following at the end of file:
<Directory "/home/rebol/public_html/cgi-bin"> ; your real OS path to
cgi-bin directory ....
allow from all
Then put your script inside above specified cgi-bin directory and make
sure you have following put on the first line of the script:
#! C:/rebol/command/rebolcmd.exe --cgi
print "Content-type: text/html^/^/"
let your scripts have .cgi suffix, unless you allowed .r to be treated
as cgi scripts too ...