[Zope-dev] Changing hostname and port without SiteAccess

Martin Winkler marwin98@gmx.net
Mon, 18 Dec 2000 15:00:05 +0100


Hello list,

I already put my question on the "zope@zope.org" list, but there was no 
solution in sight, so I'm trying to get deeper (spell: start using) into 
python.

I cannot use SiteAccess (because I need multiple ZCatalogs), and my Zope 
server (port 8080) is behind squid (in http-accelerated mode - port 80).

What I would need is changing the hostname and port in the html-responses 
like this: http://localname.com:8080/blah  to 
http://officialserver.com/blah , so the client reconnects to squid, not 
zope itself.

Any hints where to start looking for the right python files or even 
functions/methods?

Thanks in advance for your info,

Martin