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

[REBOL] CGI with Apache under Windows 2000

From: rebol665::ifrance::com at: 23-Apr-2002 14:01

Hi List, I am testing a little cgi script with Apache. This script is already tested and running fine under Windows 98 and Personal Web Server. Any help would be greatly appreciated : (1) The script (2) The /conf/srm.conf file (3) The error.log Patrick (1) The script 8<-------------------------------------------------------------------------- -------- REBOL [] print "Content-Type: text/html^/^/" print [ <HTML> <TITLE>"CGI with Rebol"</TITLE> <BODY> <H1>"Hello CGI-World!"</H1> </BODY> </HTML> ] 8<-------------------------------------------------------------------------- -------- (2) The /conf/srm.conf file 8<-------------------------------------------------------------------------- -------- # REBOL section ScriptAlias /cgi-bin/ "C:/Apache/cgi-bin/" AddType application/x-httpd-cgi .r 8<-------------------------------------------------------------------------- -------- (3) The error.log 8<-------------------------------------------------------------------------- -------- [Tue Apr 23 13:51:44 2002] [error] [client 127.0.0.1] c:/apache/cgi-bin/hw-cgi.r is not executable; ensure interpreted scripts have "#!" first line [Tue Apr 23 13:51:44 2002] [error] [client 127.0.0.1] (2)No such file or directory: couldn't spawn child process: c:/apache/cgi-bin/hw-cgi.r 8<--------------------------------------------------------------------------