[REBOL] Personal Web Server Re:(3)

2000-01-08 Thread xkracik

Hi,

I noticed that -c argument is missing in the directions.

Try c:\REBOL\rebol.exe -c %s %s to run REBOL in windowless mode and pass
CGI arguments to the script.

Or try c:\REBOL\rebol.exe -cs %s %s to turn off security and be able to
write files and send them over the network.

 [EMAIL PROTECTED] wrote:
 
 Hate to be slow, but I followed the directions (I think) to the T--.
 When I tried to run a simple form with the code from your howto page,
 I got the following:
 
 CGI Error
 The specified CGI application misbehaved by not returning a complete
 set of HTTP headers. The headers it did return are:
 
 Also, when I submitted the script, an instance of Rebol opened on my
 machine??  Any suggestions?
 
 Thanks
 Mark
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, January 06, 2000 4:23 PM
 To: [EMAIL PROTECTED]
 Subject: [REBOL] Personal Web Server Re:
 
 Get message number 38514 from SELMA or read it at rebol.org:
 http://www.rebol.org/userlist/archive/38/514.html
 
 Sterling
 
  I have searched the mailing list for PWS and CGI and even
 Microsoft...but
  have not found information on setting up Rebol to work (cgi) with
 Personal
  Web Server?
 
  Can someone either tell me, or point to a message thread?
 
  Thanks in advance,
 
  Mark Woodward
 

-- 
S pozdravem
Michal Kracik



[REBOL] Personal Web Server Re:(3)

2000-01-07 Thread sterling


Well, that set of instructions has worked for others before.  The HTTP 
header problem may be there if your script does not print out a line
like "content-type: text/html" at the top with a blank line after it.
And usually REBOL is popping up because the -c or --cgi option was not 
set up properly so that REBOL runs in CGI mode.

I thikn that info for WinNT may have been missing the --cgi part in
the line 'c:\path\to\rebol.exe --cgi %s %s'.  There should be a --cgi
in there to prevent the window from popping up and do all the useful
CGI stuff.

Sterling

 Hate to be slow, but I followed the directions (I think) to the T--.  When I
 tried to run a simple form with the code from your howto page, I got the
 following:
 
 CGI Error
 The specified CGI application misbehaved by not returning a complete set of
 HTTP headers. The headers it did return are:
 
 
 Also, when I submitted the script, an instance of Rebol opened on my
 machine??  Any suggestions?
 
 Thanks
 Mark



[REBOL] Personal Web Server Re:(3)

2000-01-07 Thread news . ted
Title: RE: [REBOL] Personal Web Server Re:



If possible, try testing the script on another server with a CGI that's 
known to be working. 

As Sterling mentioned, this sound more like a problem with the script. The 
CGIsounds like it's working, and returning an error message because the 
script is broken. If the CGI wasn't working at all, it would return a copy of 
the script as a text file.

*** REPLY SEPARATOR 
***On 1/7/2000 at 2:50 PM [EMAIL PROTECTED] 
wrote:

  Hate to be slow, but I followed the directions (I think) to 
  the T--. When I tried to run a simple form with the code from your howto 
  page, I got the following:
  CGI Error The specified CGI 
  application misbehaved by not returning a complete set of HTTP headers. The 
  headers it did return are:
  Also, when I submitted the script, an instance of Rebol opened 
  on my machine?? Any suggestions? 
  Thanks Mark -Original Message- From: 
  [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
  Sent: Thursday, January 06, 2000 4:23 PM To: [EMAIL PROTECTED] Subject: [REBOL] Personal 
  Web Server Re: 
  Get message number 38514 from SELMA or read it at 
  rebol.org: http://www.rebol.org/userlist/archive/38/514.html 

  Sterling 
   I have searched the mailing list for PWS and CGI and even 
  Microsoft...but  have not found information on 
  setting up Rebol to work (cgi) with Personal  Web 
  Server?   Can someone 
  either tell me, or point to a message thread?  
   Thanks in advance,  
   Mark Woodward