[Zope] unbuffered response.write through Apache 2.0 reverse proxy?
To prevent browser timeout during a long running process, I've got the following code to work nicely,when the browser accesses Zope directly (e.g. http://myzope.net:8080/folder/client001/) context.REQUEST.response.write(progressing...) #do some stuff context.REQUEST.response.write(further...) #do some more stuff context.REQUEST.response.write(done!) However, when browser goes through the Apache reverse proxy, e.g. VirtualHost *:80 ServerAlias site1.foobar.com RewriteRule ^/(.*) \ http://localhost:8080/VirtualHostBase/http/%{SERVER_NAME}:80/%1/site001/VirtualHostRoot/$1 [L,P] I get all three writes (progressing..further...done!) at once, at the end of the processing. I'm running Apache 2.0, Zope. 2.7.6, Plone 2.0.5 on Linux From going through Apache docs and discussions (notably http://www.gossamer-threads.com/lists/apache/dev/305433), it appears that this is an Apache 2.0 problem. Is there any way to get the same behavior (unbuffered writes) even when I go through the Apache reverse proxy? ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: TextIndexNG3 install problem
Andreas, There were no errors during the build. The new files are here Directory of C:\Zope-Instance\Products\TextIndexNG3\extension_modules\build\lib .win32-2.3\zopyx\txng3 02/18/2006 09:16 AMDIR . 02/18/2006 09:16 AMDIR .. 02/18/2006 09:16 AM59,904 levenshtein.pyd 02/18/2006 09:16 AM 9,728 normalizer.pyd 02/18/2006 09:16 AM18,432 splitter.pyd 02/18/2006 09:16 AM 180,736 stemmer.pyd 02/18/2006 09:16 AM 6,656 support.pyd 10/22/2005 09:41 AM14 __init__.py 6 File(s)275,470 bytes 2 Dir(s) 17,930,670,080 bytes free Here is the install error: C:\Zope-Instance\Products\TextIndexNG3\extension_modulespython setup.py install running install running build running build_py running build_ext error: Python was built with version 6 of Visual Studio, and extensions need to be built with the same version of the compiler, but it isn't installed. Is there anything else I can provide? Regards, Owen Andreas Jung [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Zope or Plone for a social-networking site?
Hi everybody,I was thinking about trying to develop a social-networking site, like myspace.com or facebook.com (well, on a much smaller scale of course). Elements I'd like to make available for the users are:- profile with photo gallery- blog- instant messages to other online users- chat functionality- forum/discussion boards- "internal" mail system- ... (should be extensible)After looking for information for quite some time, I am still not quite sure what to do:1) Do you think Zope/Plone would be the right thing for this kind of project, or rather some Java CM-system (with better performance maybe since it is compiled and not interpreted?) or some PHP-system? (not a fan of PHP, to be honest... I favor python)2) Now, the main question: Zope or Plone? I don't completely understand the difference between these two...I would really appreciat e some help/other opinions on this matter.Thanks a lot, Martin _ Schnell und einfach ohne Anschlusswechsel zur Lycos DSL Flatrate wechseln und 3 Monate kostenlos ab effektiven 5,21 EUR pro Monat im ersten Jahr surfen.___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] unbuffered response.write through Apache 2.0 reverse proxy?
Apache does its own buffering IIRC. Look for ProxyReceiveBufferSize/ ProxyIOBufferSize. On Feb 18, 2006, at 3:59 AM, Christoph Berendes wrote: To prevent browser timeout during a long running process, I've got the following code to work nicely,when the browser accesses Zope directly (e.g. http://myzope.net:8080/folder/client001/) context.REQUEST.response.write(progressing...) #do some stuff context.REQUEST.response.write(further...) #do some more stuff context.REQUEST.response.write(done!) However, when browser goes through the Apache reverse proxy, e.g. VirtualHost *:80 ServerAlias site1.foobar.com RewriteRule ^/(.*) \ http://localhost:8080/VirtualHostBase/http/%{SERVER_NAME}:80/% 1/site001/VirtualHostRoot/$1 [L,P] I get all three writes (progressing..further...done!) at once, at the end of the processing. I'm running Apache 2.0, Zope. 2.7.6, Plone 2.0.5 on Linux From going through Apache docs and discussions (notably http:// www.gossamer-threads.com/lists/apache/dev/305433), it appears that this is an Apache 2.0 problem. Is there any way to get the same behavior (unbuffered writes) even when I go through the Apache reverse proxy? ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope or Plone for a social-networking site?
Hi everybody, I was thinking about trying to develop a social-networking site, like myspace.com or facebook.com (well, on a much smaller scale of course). Elements I'd like to make available for the users are: - profile with photo gallery - blog - instant messages to other online users - chat functionality - forum/discussion boards - internal mail system - ... (should be extensible) After looking for information for quite some time, I am still not quite sure what to do: 1) Do you think Zope/Plone would be the right thing for this kind of project, or rather some Java CM-system (with better performance maybe since it is compiled and not interpreted?) or some PHP-system? (not a fan of PHP, to be honest... I favor python) 2) Now, the main question: Zope or Plone? I don't completely understand the difference between these two... I would really appreciat e some help/other opinions on this matter. Thanks a lot, Martin Think of Plone as extended Zope. Plone is Zope plus many of the capabilities that you are asking for above. Plone is built on top of Zope. Plone is Zope plus added value. Also take a look at CPS (http://www.cps-project.org/). It, like Plone, is built on top of Zope and is Zope plus added capabilities like Blog, Wiki, Forum, Chat, ... CPS provides a WYSIWYG editor that enables you to customize the look and layout of the pages of your portal. And, compare with Silva (http://www.infrae.com/products/silva). You may also want to look at http://www.cmsmatrix.org/, where you can do feature comparison charts on CMSs (content management systems). CPS is listed under Nuxeo, the company that supports it. Dave -- Dave Kuhlman http://www.rexx.com/~dkuhlman ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: TextIndexNG3 install problem
Problem solved. MinGW built the pyd files in C:\Zope-Instance\Products\TextIndexNG3\extension_modules\build\lib.win32-2.3\zopyx\txng3 , but for some reason the zopyx folder was not on the Python search path (under Windows). The fine manual (here http://www.python.org/doc/essays/packages.html and here http://docs.python.org/ref/import.html ) describes that Windows module search for import has differences from other operating systems. One solution (not too elegant), is to move the zopyx folder into a folder that is being searched. I moved the zopyx folder to the site-packages folder. (Setting $PYTHONPATH to C:\Zope-Instance\Products\TextIndexNG3 might also have worked, or putting the right zopyx.pth file somewhere might have worked). By solved I mean the TextIndexNG3.1.5 configlet now appears in the Plone2.1.2 add/remove products page without any errors. And the event.log traceback errors have disappeared. Thanks everyone! -Owen Owen K [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Andreas, There were no errors during the build. The new files are here Directory of C:\Zope-Instance\Products\TextIndexNG3\extension_modules\build\lib .win32-2.3\zopyx\txng3 02/18/2006 09:16 AMDIR . 02/18/2006 09:16 AMDIR .. 02/18/2006 09:16 AM59,904 levenshtein.pyd 02/18/2006 09:16 AM 9,728 normalizer.pyd 02/18/2006 09:16 AM18,432 splitter.pyd 02/18/2006 09:16 AM 180,736 stemmer.pyd 02/18/2006 09:16 AM 6,656 support.pyd 10/22/2005 09:41 AM14 __init__.py 6 File(s)275,470 bytes 2 Dir(s) 17,930,670,080 bytes free Here is the install error: C:\Zope-Instance\Products\TextIndexNG3\extension_modulespython setup.py install running install running build running build_py running build_ext error: Python was built with version 6 of Visual Studio, and extensions need to be built with the same version of the compiler, but it isn't installed. [truncated] ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope-dev] Re: [Zope3-dev] Re: merge zope-dev and zope3-dev?
On Friday 17 February 2006 23:54, Jim Fulton wrote: Only you and Philipp were excited about this. Not sure that constitutes a ringing endorsement. Maybe others will chime in now. I'm +10 too. I'd like to see this happen before the end of the year. -1. I only change my vote, if the technologies get much closer together. In other words when Zoep 2 uses Zope 3's security, publisher, Page Templates, RDB Adapters, etc. Currently I often just delete zope-dev mails, because some weird thing is discussed. Regards, Stephan -- Stephan Richter CBU Physics Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Re: [Zope3-dev] Re: merge zope-dev and zope3-dev?
On 18 Feb 2006, at 13:08, Stephan Richter wrote: On Friday 17 February 2006 23:54, Jim Fulton wrote: Only you and Philipp were excited about this. Not sure that constitutes a ringing endorsement. Maybe others will chime in now. I'm +10 too. I'd like to see this happen before the end of the year. -1. I only change my vote, if the technologies get much closer together. In other words when Zoep 2 uses Zope 3's security, publisher, Page Templates, RDB Adapters, etc. Currently I often just delete zope-dev mails, because some weird thing is discussed. So nothing will change for you then, Stephan. Your argument has just been fatally weakened ;) Anyhow, +1 from me as well. I don't mind deleting esoteric Zope 3 stuff *I* don't care about. Stephan's argument works both ways. jens ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )