I have already tried to make some noise about that but failed to sufficiently make my point. <http://collector.zope.org/Zope/809>
--On Sonntag, 06. Juli 2003 13:17 -0700 Jamie Heilman <[EMAIL PROTECTED]> wrote:
Jamie Heilman wrote:Collector issue 799, dtml-tree still uses SCRIPT_NAME to generate the base path for its plus and minus images, SCRIPT_NAME breaks badly when Zope is proxied and has been discouraged since what... Zope 2.3 I believe. The patch changes dtml-tree so it uses BASEPATH1 which works correctly.
I gather this bug has been lurking for so long because its probably not seen very often; it depends on how you set up zope, but here's a way to reproduce it, lest anyone think its not a real bug:
using mod_rewrite+mod_proxy set up a path to access the root of zope-space which doesn't map to the root of apache's web space:
RewriteRule ^/zope(.*) http://127.0.0.1:8080/VirtualHostBase/http/example.com:80/VirtualHostRoot /_vh_zope$1 [P,L]
Everything works, except the +/- icons used by dtml-tree, with the patch, they work too. Looking at doc/HISTORY.txt we see that most of the SCRIPT_NAME->BASEPATH1 changes happend for Zope 2.3.0 alpha 1, but this one got missed.
-- The time has come to start talking about whether the emperor is as well dressed as we are supposed to think he is. /Pete McBreen/
Zope-Dev maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce