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

[REBOL] Re: CGI with Apache under Windows 2000

From: petr:krenzelok:trz:cz at: 23-Apr-2002 15:22

pat665 wrote: 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 .... Options ExecCGI AllowOverride None order allow,deny allow from all </Directory> Then put your script inside above specified cgi-bin directory and make sure you have following put on the first line of the script: example script: ------------- #! C:/rebol/command/rebolcmd.exe --cgi REBOL [] print "Content-type: text/html^/^/" print "OK" ------------ let your scripts have .cgi suffix, unless you allowed .r to be treated as cgi scripts too ... -pekr-