Re: [Zope] Apache 2 + Zope can't gzip HTTP response body?
On 4 Jul 2005, at 01:26, Daniel Dekany wrote: Thanks! Just on more thing... According to http://sourceforge.net/mailarchive/forum.php? thread_id=7393296forum_id=12354 the gzip compression was enabled by default in Plone 2.0.x (only from 2.0.4 I guess), but will be disabled in 2.1. If it is true, why? Is it not recommenced after all? (Actually I try to gzip only because my predecessor did...) I suggest you ask on the Plone list. jens ___ 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] Apache 2 + Zope can't gzip HTTP response body?
Monday, July 4, 2005, 12:00:38 AM, Dieter Maurer wrote: Daniel Dekany wrote at 2005-7-2 20:56 +0200: Can I use HTTP Content-Encoding: gzip for Zope if I use Apache 2? (And should I use gzip content-encoding?) The mod_gzip doesn't work with Apache 2, but instead it has mod_deflate. But mod_deflate can't chose which responses to gzip based on the MIME-type for responses that are coming through ProxyPass/ProxyPassReverse. And with Zope I can't rely on extensions (like .html), just on the MIME-type. Do I think these well? Zope can do gzip compression by itself. You can activate it via RESPONSE.enableHTTPCompression(REQUEST) This activates gzip compression for precisely this response. Thanks! Just on more thing... According to http://sourceforge.net/mailarchive/forum.php?thread_id=7393296forum_id=12354 the gzip compression was enabled by default in Plone 2.0.x (only from 2.0.4 I guess), but will be disabled in 2.1. If it is true, why? Is it not recommenced after all? (Actually I try to gzip only because my predecessor did...) -- Best regards, Daniel Dekany ___ 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] Apache 2 + Zope can't gzip HTTP response body?
On 7/3/05, Daniel Dekany [EMAIL PROTECTED] wrote: Can I use HTTP Content-Encoding: gzip for Zope if I use Apache 2? (And should I use gzip content-encoding?) The mod_gzip doesn't work with Apache 2, but instead it has mod_deflate. But mod_deflate can't chose which responses to gzip based on the MIME-type for responses that are coming through would this help? #enable deflate on select contents #AddOutputFilterByType DEFLATE text/html text/plain text/xml hth ProxyPass/ProxyPassReverse. And with Zope I can't rely on extensions (like .html), just on the MIME-type. Do I think these well? Somebody have solved this (gzip-ing the response bodies)? -- Best regards, Daniel Dekany ___ 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 ) -- http://myzope.kedai.com.my - my-zope org ___ 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] Apache with Zope
Hi there !! I have zope and apache listeners in one machine !! Is there any way to have only apache receiving requests for zope and apache, without having two listeners ??? I'm thinking of some module that provide zope funcionalaty to apache ! Without having ProxyPass and RewriteRule directives !!! Is this not possible ? If you have some ideas, just shoot them :) I think what you're asking for is a way of having just Apache listening on port 80 of your server, and then Apache passing on requests to Zope - and you want to do this without using ProxyPass. There are various CGI-derived ways of doing this, but to be honest the ProxyPass setup works very well indeed and doesn't seem to incur any massive performance hit. So unless you have a really good reason for not using ProxyPass, I would just move your Zope onto a port other than 80 and use ProxyPass. Simon -- - My opinions are my own, NIP's opinions are theirs -- Simon J. Coles Email: [EMAIL PROTECTED] New Information Paradigms Work Phone: +44 1344 753703 http://www.nipltd.com/ Work Fax: +44 1344 753742 === Life is too precious to take seriously === ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Apache with Zope
Hi ! Yes i agree with you ! Besides, it was what i had in mind ! But that way we have to listners to maintain ! apachectl stop / startssl and the usual stop start in Zope directory !!! Is there a way of administrating the two listners in a easy way ? You talked about some cgis ! What was your idea ? thanks and best regards Nuno On Wed, 17 Jan 2001, Simon Coles wrote: Hi there !! I have zope and apache listeners in one machine !! Is there any way to have only apache receiving requests for zope and apache, without having two listeners ??? I'm thinking of some module that provide zope funcionalaty to apache ! Without having ProxyPass and RewriteRule directives !!! Is this not possible ? If you have some ideas, just shoot them :) I think what you're asking for is a way of having just Apache listening on port 80 of your server, and then Apache passing on requests to Zope - and you want to do this without using ProxyPass. There are various CGI-derived ways of doing this, but to be honest the ProxyPass setup works very well indeed and doesn't seem to incur any massive performance hit. So unless you have a really good reason for not using ProxyPass, I would just move your Zope onto a port other than 80 and use ProxyPass. Simon -- - My opinions are my own, NIP's opinions are theirs -- Simon J. Coles Email: [EMAIL PROTECTED] New Information Paradigms Work Phone: +44 1344 753703 http://www.nipltd.com/ Work Fax: +44 1344 753742 === Life is too precious to take seriously === ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )