On 6/21/05, Sean Fulton <[EMAIL PROTECTED]> wrote:
> Lenya 1.2.2 servlet, pub based on default. It's set up for mod_proxy
> with a live server at http://myhost:99. Say I have a page about.html
>
> In an XSLT for news.html, I try to create a link like so:
> <a href="{$root}/about.html">About</a></div>
> This gets rendered as:
> <a href="http://myhost:99//about.html">About</a></div>
>
> If I create a link like so:
> <a href="{$root}about.html">About</a></div>
> It gets rendered as:
> <a href="http://myhost:99/mypub/liveabout.html">About</a></div>
> Can anyone explain what is going on?
Do you have mod_proxy_html or mod_publisher or Lenya's proxy settings
or something else rewriting URLs? XSL is too stupid to decide what
{$root} should be for a given case; it just makes the replacement.
You must have something after the XSL finishes that changes:
http://myhost:99/mypub/live/
To:
http://myhost:99//
(Let me know what did this. I want that functionality, and got into
library dependency hell with mod_proxy_html and mod_publisher.)
solprovider
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]