On Wednesday 29 August 2001 11:02 am, Phillip Hilton wrote:

> As regards CGI in ruby......I still can't make the books basic
> examples work.
>
> My task: I am trying to pick up parameters from a form written in HTML
> and then pass out the processed data in HTML. I have had a good old go
> but I keep getting '500 Internal server error'. Does anyone have have
> links  to a good tutorial for absolute monkeys like me!

Does your script work from the command line? Have you told Apache how to run 
Ruby CGIs?

>
> 2: I can't seem to manage to get  'exec' up and running. Here is my
> code where am I going wrong.
[snip]
> The parent calls process.wait as many times as there are children.
> (Next part not shown) The parent then scoops up the results in an
> array for output in CGI format.

Why fork (which is pretty expensive under Win32) when you have threads? After 
all, this isn't Perl...

-- 
Ned Konz
currently: Stanwood, WA
email:     ned / bike-nomad.com
homepage:  http://bike-nomad.com