[Zope] VHM and hard-wired URLs generated by stock Zope code

Richard Barrett R.Barrett@ftel.co.uk
Tue, 06 Nov 2001 14:35:00 +0000


Running Zope 2.3.3 with python 1.5.2

I run Zope on a private IP numbered server for users on our LAN but expose 
some parts of the Zope tree via Apache using ProxyPass and VHM to adjust 
the URLs on our pages.

The problem I'm having is with some of the hard-wired URLs produced by some 
of the standard Zope code. For instance, the dtml-tree tag generates things 
like:

<IMG SRC="/p_/mi" ALT="-" BORDER=0>

The ZMI also does the same although that is less of a problem as, in 
general, I do not use the ZMI through the Apache proxy. But I might want to 
in the future.

I do not want to use extra ProxyPass directives in my Apache config to 
handle these "unadjustable" hard-wired URLs. Aside from hacking at the 
source code does anyone know of a clean solution for this problem.