Aug 3, 2007 2:32 PM
Zenoss with Apache (SSL) and alternative root
-
Like (0)
This might be too late to do you any good, but the problem is in Zenoss's page templates. A lot of the URLs are hard-coded into the page templates with static paths, rooted on '/zport/...'. Zope's virtual hosting support can only handle URLs that it dynamically generates, so the hard-coded URLs in the templates don't reflect the alternative root. Some of the URLs are correctly handled (e.g., the user preferences link in the top right-hand menu), but most aren't--including some JS and image URLs, which pretty much breaks the whole UI. I opened a Trac ticket about this, here: * http://dev.zenoss.org/trac/ticket/6209 I'm hoping to patch my local Zenoss installations, and if it works, I'll post the patch. But I can't guarantee when I'll have the time to work on it, so you might want to look at handling it, yourself. It looks like most of the page templates (*.pt files) are located in the directory $ZENHOME/Products/ZenModel/skins/zenmodel/, but there may be more. I grepped that dir, alone, and it looks like there are about 100 URLs, spread throughout the templates, that need to be changed. The Trac ticket has some examples of how to make dynamic links, and the Zope docs have more info, if you search them for 'ZPT' (Zope Page Templating).
Follow Us On Twitter »
|
Latest from the Zenoss Blog » | Community | Products | Services Resources | Customers Partners | About Us | ||
Copyright © 2005-2011 Zenoss, Inc.
|
||||||||