From: Wayne Pierce Date: 2005-05-11T05:31:50+09:00 Subject: Re: Problems with Amrita2 and HTTP headers. Jeff, Thanks for the reply, I did manage to make some progress in narrowing down where the problem is. Apparently the issue is the line: tmpl.expand(STDOUT, PO.new) When I comment that out there are no errors (no data either). Amrita2 worked fine from irb as well. I haven't been able to find the code responsible for returning data yet, none of the following worked either: content = tmpl.expand(STDOUT, PO.new) tmpl.expand(content, PO.new) tmpl.expand(:content, PO.new) With the lines above I was trying to capture the response and then pass that to the cgi.out. Thanks again, Wayne On 5/10/05, Jeff Barczewski wrote: > You might try running it from Webrick first to see if it is something > specific to FastCGI or what. I'm not sure what could be wrong though I > haven't moved to using FastCGI yet. All my tests with Webrick, Amrita2 > worked just fine. > > Jeff > >