10 Feb
2004
10 Feb
'04
10:40 a.m.
Hi, I defined the content of my site under the Zope folder '/home' which is directly under the 'Root Folder'. But this site is accessed by the url 'www.mydomain.com/Zope'. I managed to do this using a VirtualHost Monster, and Rewrite rule in Apache as follows: RewriteRule ^/Zope/(.*) http://localhost:8080/VirtualHostBase/http/www.mydomain.com:8000/VirtualHost... [L,P] My problem now is that I have a dtml-tree, and this tree access images from '/p_' directory using a relative path. For example, the expand button (+) in the tree is referenced as: <img src="/p_/pl" alt="+" border="0" /> This fails because the correct path should be 'Zope/p_/pl'. Is there a way that I can correct this url from dtml-tree? Thanks. Al