[Zope] Zope, Squid and manage_workspace

Robb Shecter robb at acm.org
Sun Jun 13 17:14:24 EDT 2004


Dieter Maurer wrote:
>
> Zope usually listens on a port different from 80 (as this is
> protected and requires a process running as root).
> Therefore, the URLs it creates contain its port and not that
> of Squid.
>

Which makes me wonder; why does Zope do this in the first place?  Why isn't 
its default behavior to only create relative URLs that won't have the 
hostname and port in them?  Why does it, by default, insert the BASE tag with 
a hostname and port number into documents?

I don't remember ever having this behavior when writing web apps with Tomcat 
or Apache.  For sure, this makes it harder for Zope-generated content to be 
modular and integrated into a site (and hence all the never-ending questions 
about mod-rewrite, VHM, etc.)  I've currently got it all working, but because 
of Zope, I have to relearn them every year or two...

Robb




More information about the Zope mailing list