[Zope] Zope <base> tag

Paul Winkler pw_lists at slinkp.com
Fri Dec 3 17:50:05 EST 2004


On Fri, Dec 03, 2004 at 09:43:44PM +0100, Andreas Jung wrote:
> 
> 
> --On Freitag, 3. Dezember 2004 15:35 Uhr -0500 Alan Snyder 
> <alan8373 at gmail.com> wrote:
> 
> >It seems that every page that zope generates has this <base href="">
> >tag in the html header. Where is this set and how / should I change
> >it. I'm trying to hook up apache as a proxy server to zope with url
> >address re-writing but it keeps failing, and I think part of the issue
> >is that this <base> tag over-rides what apache does and forces my
> >browser to look at relative links from that :8080 zserver port instead
> >of going through apache.
> 
> The BASE tag is set automatically by Zope and there is really no need
> to change it and in fact it is not a  good idea to change it. This is also
> true if you run Zope vhosted using VHM.

Yep. More likely you need to set up a proper rewrite rule to
work with a VirtualHostMonster (VHM).
This is documented, oh, all over the place and i don't feel
like looking it up at the moment :-)
probably it's on zopewiki.org as well as otehr places.

-- 

Paul Winkler
http://www.slinkp.com


More information about the Zope mailing list