[ZCM] [ZC] 312/ 6 Resolve "Problems with "+ " and "-" images when
running Zope in a sub-folder behind Apache"
Collector: Zope Bugs, Features,
and Patches ...
zope-coders-admin at zope.org
Mon Jan 19 17:56:44 EST 2004
Issue #312 Update (Resolve) "Problems with "+ " and "-" images when running Zope in a sub-folder behind Apache"
Status Resolved, Zope/bug medium
To followup, visit:
http://zope.org/Collectors/Zope/312
==============================================================
= Resolve - Entry #6 by efge on Jan 19, 2004 5:56 pm
Status: Pending => Resolved
Thanks, resolving the issue then.
________________________________________
= Comment - Entry #5 by leper on Jan 19, 2004 5:12 pm
this was already fixed as a result of issue #799 and was fixed as of revision 1.54 of TreeTag.py
________________________________________
= Resubmit - Entry #4 by efge on Jan 19, 2004 5:08 pm
Status: Rejected => Pending
Reopened as there appears to be a fix available.
________________________________________
= Comment - Entry #3 by ant9000 on Nov 28, 2003 9:26 am
The problem lies in 'lib/python/TreeDisplay/TreeTag.py' referring to SCRIPT_NAME instead of BASEPATH1.
________________________________________
= Reject - Entry #2 by regebro on Jun 20, 2002 1:15 pm
Status: Pending => Rejected
Discussion about this has concluded that the plus and minus images should be fetched from /p_/ and not from /qs/p_/ and it must be the configuration of Apache that makes /p_/ fail.
________________________________________
= Request - Entry #1 by Anonymous User on Mar 25, 2002 6:38 am
In the folder tree view, the "+" and "-" images are not displayed as the path is incorrect. All other images are correctly displayed.
Apache and Zope are correctly set-up: Proxy enabled, Siteroot set.
>From the Apache config
ProxyVia On
ProxyPass /qs http://localhost:8080
ProxyPassReverse /qs http://localhost:8080
ProxyPass /misc_ http://localhost:8080
ProxyPass /p_ http://localhost:8080
It seems that the hard-wired paths for /p_/pl and /p_/mi in
\lib\python\TreeDisplay\TreeTag.py
lines 344 - 353 may be at fault.
Hard-wiring /p_ to /qs/p_ seems to solve the problem.
if exp:
ptreeData['tree-item-expanded']=1
output('<A NAME="%s" HREF="%s?%stree-c=%s#%s">'
'<IMG SRC="%s/qs/p_/mi" ALT="-" BORDER=0></A>' %
(id, root_url, param, s, id, script))
else:
output('<A NAME="%s" HREF="%s?%stree-e=%s#%s">'
'<IMG SRC="%s/qs/p_/pl" ALT="+" BORDER=0></A>' %
(id, root_url, param, s, id, script))
output('</TD>\n')
==============================================================
More information about the Zope-Collector-Monitor
mailing list