From: Ara.T.Howard@... Date: 2004-11-02T00:13:52+09:00 Subject: Re: fastcgi + eruby On Mon, 1 Nov 2004, Patrick May wrote: > > On Monday, November 1, 2004, at 09:33 AM, J. D. wrote: > >> What is the best way to handle .rhtml (eruby) documents using fastcgi? >> >> I'm using Linux, Apache2 and fcgi 0.8.4. >> >> I'm trying to convert a site from mod_ruby to fastcgi so I can run >> some comparison tests. >> >> Converting .rbx was easy but I'm not sure how to best handle .rhtml. > > Maybe use the erb interpreter, and use fcgi instead of cgi? I think > that might work, but at the expense of having to insert a big loop into > all your rhtml templates. There's a cool continuation hack that matz > wrote to make cgi work with fcgi, without any code changes. But there > are some ruby bugs that affect continuations. > > ~ patrick fastcgi works as a cgi out of the box without any code changes or continuations? are you referring to something else, or the method used by fcgi? kind regards. -a -- =============================================================================== | EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov | PHONE :: 303.497.6469 | When you do something, you should burn yourself completely, like a good | bonfire, leaving no trace of yourself. --Shunryu Suzuki ===============================================================================