Dear Magnolians

Just when I was giving up, I got my ssh tunnel running after all. Debugging 
then showed me, that LinkUtil is doing everything correctly… but that 
MgnlContext.getContextPath() returns "/" although the web app is run as root. 
And since the context path is being added to the handle I get a link with two 
leading slashes at the beginning.

Maybe this has something to do with how things are setup? The web app is still 
called "magnoliaPublic" (not ROOT) and I guess the mapping is done in the 
apache config. Has anyone seen behavior like this?

This is on Magnolia 4.4.6 BTW.

-will

On 05.10.2012, at 12:06, Will Scheidegger wrote:

> Dear Magnolians
> 
> I'm currently banging my forehead against the desk because I cannot seem to 
> figure out while
> 
> LinkUtil.createAbsoluteLink(forwardPage);
> 
> is giving me a path like this:
> 
> //path/to/my/forwardPage.html
> 
> Note the two leading slashes. Of course this Link does not work.
> Very bizarre to me is, that it works perfectly fine on the author instance 
> but not on the public. It cannot be related to user permissions because it 
> also happens when logged in as superuser on the public instance. Looking at 
> the code of LinkUtil and AbsolutePathTransformer, I see that URI2Repository 
> mappings and i18n could play their parts but they are both the same on public 
> and author. And I cannot debug it, because I can't get my ssh tunnel to work!
> 
> So any ideas how to proceed are warmly appreciated!
> 
> Thanks!
> -will
> 
> 
> ----------------------------------------------------------------
> For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
> Alternatively, use our forums: http://forum.magnolia-cms.com/
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------
> 



----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to