Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

Rebol as CGI under Apache in Windows?

 [1/2] from: webmaster::siliconspecies::com at: 16-Dec-2000 21:58

So close... I can't seem to get Rebol processing CGIs under Apache in Windows. Looked at the httpd.conf and tried some things, but no go. On Linux all I had to do was put the binary in /usr/bin and have the tagline like for perl. /usr/bin/rebol -cs yet I can't seem to get the same kind of thing working on windows apache. Please assist. Thanks, Jeff

 [2/2] 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 Remove #: ServerName 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.