[Zope] Re: Zope, Squid and Apache

John Poltorak jp at warpix.org
Thu Dec 9 14:38:56 EST 2004


On Thu, Dec 09, 2004 at 10:08:40AM -0500, David Chandek-Stark wrote:
> > Would it be possible, if you could tell us what your setup is.
> 
> Sure. This is basically it:
> 
> www.mydomain.com - Squid running on port 80
> www2.mydomain.com - Apache on port 80, Zope on port 8080 (obviously, 
> Apache and Zope could be on separate boxes)
> 
> squid.conf:
> 
> http_port 80
> httpd_accel_host www2.mydomain.com
> httpd_accel_port 80
> httpd_accel_single_host on
> httpd_accel_uses_host_header off
> 
> httpd.conf:
> 
> # Apache proxy for Zope
> RewriteRule ^/(.*)$ 
> http://localhost:8080/VirtualHostBase/http/www.mydomain.com:80/VirtualHostRoot/$1 
> [proxy]


I've taken Zope out of the equation just to try and simplify things but 
end up with Access denied problems from Squid. Do you need to set any 
specific Squid ACLs to make this work?

 
> --David


-- 
John





More information about the Zope mailing list