Re: [Zope] RESPONSE.write - Still not working
Did you try without Apache in the mix? Proxying may well do its own buffering
That was the problem! Apache/CGI was buffering the output from zope. As soon as I bypassed Apache/CGI the RESPONSE.write function worked as advertised. Thanks for the help.
Jonathan Hobbs wrote:
Did you try without Apache in the mix? Proxying may well do its own buffering
That was the problem! Apache/CGI was buffering the output from zope. As soon as I bypassed Apache/CGI the RESPONSE.write function worked as advertised.
Thanks for the help.
I'd use mod_proxy/mod_rewrite over CGI anyday. Would be interested to know if this behaves as you expect with that... Chris
I'd use mod_proxy/mod_rewrite over CGI anyday.
Would be interested to know if this behaves as you expect with that...
I see a lot of people having problems with PCGI setup. I think mod_proxy/mod_rewrite + VHM solution is far superior over PCGI solution and most people should try mod_proxy first if they don't have a real reason to use PCGI (btw, are there any reason to use it instead mod_rewrite+VHM?). Unfortunately, doc/WEBSERVER.txt coming with any Zope version discusses only PCGI/FastCGI setup so most people haven't a chance to try a better way first. So maybe we need to make changes to docs coming with Zope to reflect a new ways of making Zope works with Apache? Also, i think some docs on zope.org discussing SiteAccess, PCGI and FastCGI should be marked as obsolete with links to more modern howtos. This will make newbie life much easier.
Sergey Volobuev wrote:
So maybe we need to make changes to docs coming with Zope to reflect a new ways of making Zope works with Apache?
Also, i think some docs on zope.org discussing SiteAccess, PCGI and FastCGI should be marked as obsolete with links to more modern howtos. This will make newbie life much easier.
Absolutely. The mod_rewrite version has been "blessed" as the Right Way by folks at ZC for some time now.
Chris Withers wrote:
Jonathan Hobbs wrote:
Did you try without Apache in the mix? Proxying may well do its own buffering
That was the problem! Apache/CGI was buffering the output from zope. As soon as I bypassed Apache/CGI the RESPONSE.write function worked as advertised.
Thanks for the help.
I'd use mod_proxy/mod_rewrite over CGI anyday.
Would be interested to know if this behaves as you expect with that...
I tried something similar about a year ago with mod_proxy, and it failed similarly, IIRC. seb
participants (4)
-
Chris Withers -
Jonathan Hobbs -
Seb Bacon -
Sergey Volobuev