[Zope] Re: Zope, Squid and Apache

David Chandek-Stark dc at duke.edu
Thu Dec 9 10:08:40 EST 2004


> 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]

--David



More information about the Zope mailing list