[Zope] Re: Zope, Squid and Apache
John Poltorak
jp at warpix.org
Thu Dec 9 10:46:52 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)
Looks like you are running Apache and Squid on a different hosts...
> 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]
>
Is there any need for anything like SquidGuard which I have seen mentioned
in various write ups?
> --David
--
John
More information about the Zope
mailing list