On Mon, Mar 21, 2011 at 3:11 PM, Kevin Kevin <kevin_de_valck / hotmail.com>wrote:

> Hello,
>
> Does anybody know how I can run ruby cgi scripts in my web server. I
> coded the webserver myself in ruby. At this moment I use ERB to parse
> the .rhtml files. It all works fine but now i want to use the
> functionality of CGI to extend my webserver. So I would like to read the
> CGI file, parse it and send my html output to the user's webbrowser.
>
> So does anybody knows how to run a CGI file?
>
CGI is part of standard lib. try ruby uses it (until i can get a sessions
issue worked out in rails).

Andrew McElroy
http://tryruby.org

>
> --
> Posted via http://www.ruby-forum.com/.
>
>