From: ahoward Date: 2003-02-10T11:13:01+09:00 Subject: fcgi and cgi-lib.rb anyone out there using cgi-lib.rb and fcgi together? it looks like something like this *might* be possible : #!/usr/bin/ruby require 'fcgi' require 'cgi-lib.rb' FCGI.each {|request| cgi = CGI.new request.in parm = cgi['parm'] ... make content, use CGI methods ... $> = request.out # not sure if $> is defout or stdout... CGI::print("Content-Type: text/html", cookie1, cookie2){ content } request.finish } -a -- ==================================== | Ara Howard | NOAA Forecast Systems Laboratory | Information and Technology Services | Data Systems Group | R/FST 325 Broadway | Boulder, CO 80305-3328 | Email: ahoward@fsl.noaa.gov | Phone: 303-497-7238 | Fax: 303-497-7259 ====================================