Submitted by : jks at: 2004-01-23T06:53:54+00:00 (17 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :

In '', the logolink macro produces an img tag with src set to '/misc_/ZWiki/ZWikiPage_icon.gif', disregarding the SiteRoot? in the root folder of my Zope.

... --SimonMichael, Sun, 25 Jan 2004 08:05:27 -0800 reply

Is that a problem ? Does the image work anyway ?

... --jks, Mon, 26 Jan 2004 02:32:00 -0800 reply

Yes, it is a problem. I'm using the SiteRoot? for proxying ZServer? via Apache so that my Zope server (say, '') is visible at ''. The browser gets an img src of '/misc_/ZWiki/ZWikiPage_icon.gif', but '' does not exist. It should point to '' instead.

Of course, an easy solution is to put my own logo image in the wiki folder.

I see --SimonMichael, Wed, 28 Jan 2004 16:48:48 -0800 reply

If you customize that template, you could also try removing the leading / to acquire it. I'm reluctant to do that by default though in case someone has their own misc_. Or you could take care of in the apache config.

Unfortunately I get confused by these things. I'd welcome a patch that solves this for all virtual hosting setups.

property change --simon, Mon, 05 Sep 2005 22:58:27 -0700 reply

Status: open => closed

It should acquire misc_ from the current context, fixed for 0.46.