newbie Q: <base href="">
Greetings. I'm currently setting up Zope for this company I work for. Everything is going smoothly so far except for 1 thing: Zope adds a <base href=""> automatically to every page. It looks like this: <base href="http://wwwproto.ima.com//support/" /> This really messes up the URL whenever I use the navigation bar. It looks like this: http://wwwproto.ima.com//purchase/support Notice the 2 slashes after the .com. That won't look very good once we launch the site. Is there a way to "tell" zope to stop adding that <base href=""> tag? I'm running Zserver and Apache at the same time. Hope that extra info helps. Thank you in advance to anyone who helps. Andre Quintos
Andre Quintos wrote:
Is there a way to "tell" zope to stop adding that <base href=""> tag?
Nope, it's actually quite important sometimes, especially for relative links ;-)
I'm currently setting up Zope for this company I work for. Everything is going smoothly so far except for 1 thing: Zope adds a <base href=""> automatically to every page. It looks like this:
<base href="http://wwwproto.ima.com//support/" />
Hmmm... are you using mod_proxy or SiteAccess or something? Or do you just haev a link to '/support' on the page? If that latter, replace it with &dtml.url-support; which isa much safer way to create a reference :-) cheers, Chris
On Tue, 13 Feb 2001, Chris Withers wrote:
Andre Quintos wrote:
Is there a way to "tell" zope to stop adding that <base href=""> tag?
Nope, it's actually quite important sometimes, especially for relative links ;-)
There is a way, but it is not recommended. :) Oleg. ---- Oleg Broytmann http://www.zope.org/Members/phd/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.
participants (3)
-
Andre Quintos -
Chris Withers -
Oleg Broytmann