[Repoze-dev] Repoze with mod_wsgi and Varnish/Squid

Paul Everitt paul at agendaless.com
Thu Mar 13 10:50:23 EDT 2008


Hi Martin, sounds cool about giving Repoze/Deliverance/Plone 3.1 a  
shot this weekend.

Regarding the point below, is the issue that you want static  
Deliverance stuff served from a different URL?

--Paul

On Mar 12, 2008, at 6:27 PM, Martin Aspeli wrote:

> Hi,
>
> I'm what the best practice would be for running a site with Repoze and
> Deliverance under mod_wsgi, with Varnish as a web cache.
>
> The only way I can think to make it work would be to use Varnish on  
> port
> 80, proxying Apache on some different port, with Repoze under  
> mod_wsgi.
> I'm sure that'd work, but it'd be a bit annoying for the server I want
> to configure, since it has some static file serves that wouldn't need
> Varnish and also uses mod_dav_svn to serve up SVN.
>
> The way I used to do it, was to the virtual host in Apache use a
> RewriteRule to a Varnish port that then proxied Zope on a different  
> port
> again.
>
> Perhaps the answer is to not use Varnish at all, but use some in- 
> Apache
> caching, though I've been told that's not terribly good (it doesn't
> support purge?).
>
> Cheers,
> Martin
>
> -- 
> Author of `Professional Plone Development`, a book for developers who
> want to work with Plone. See http://martinaspeli.net/plone-book
>
> _______________________________________________
> Repoze-dev mailing list
> Repoze-dev at lists.repoze.org
> http://lists.repoze.org/listinfo/repoze-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.repoze.org/pipermail/repoze-dev/attachments/20080313/f34e7a13/attachment.htm 


More information about the Repoze-dev mailing list