[REBOL] Re: Rebol as CGI under Apache in Windows?
From: arolls:bigpond:au at: 18-Dec-2000 0:51
Hi Jeff,
I got this information from the Official Guide, and it works for me.
In the apache directory,
modify the file conf/httpd.conf as follows:
Find the line beginning with Options, like this:
Options Indexes FollowSymLinks MultiViews
Add ExecCgi:
Options Indexes FollowSymLinks MultiViews ExecCgi
Find the line:
#ServerName new.host.name
Remove #:
ServerName new.host.name
That's all for httpd.conf.
First line of my scripts looks like:
#!d:\anton\dev\rebol\view\rebol.exe -cs
store them in the apache/cgi-bin directory
and after starting apache, refer to your scripts with:
http://localhost/cgi-bin/test.cgi
I hope I've got everything correct.
Anton.