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: joel:neely:fedex at: 23-Apr-2002 8:44

Hi, Pat, pat665 wrote:
> (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> > ] >
...
> (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<-------------------------------------------------------------------------- > -------- >
What happens if you add the line 8<---------- #!pathtorebolinterpreter 8<---------- at the beginning of the cgi script (with suitable substitution)? -jn-