rebol server pages on IIS?
[1/2] from: gmckenzi::accelio::com at: 4-Oct-2001 11:45
Can anyone offer any advice on configuring Maarten's erebol.r Rebol Server
Page script on IIS?
I have added an association with .rhtml to REBOL.exe, and I get the REBOL
startup banner returned with the obligatory BAD HTTP HEADER message from
IIS.
I've used REBOL for CGI before, so I know about -cs %s %s , but that doesn't
seem to work.
Regards,
Gavin.
[2/2] from: gmckenzi:accelio at: 4-Oct-2001 12:31
Ok...so I got it to work.
I guess I made the mistake of assuming that erebol.r was a plug-and-play
script.
I should have spent more time inspecting erebol.r first. If I had of been
completely alert at the time, I would have noticed that erebol.r just
defines a function that can be used for rebol server page processing.
So, I had to add a line of code the to end of erebol.r to fetch the document
url passed in from ISS into system/options/args/1, read it, and pass it to
erebol.r.
My IIS config is now just the standard rebol.exe -cs %s %s.
Sorry to bother.
Gavin.