How does EPiServer use config key EPsRootDir?

I've installed 4.20 in a virtual directory under the default web server (localhost) and set the following values in web.config; The URL to the starting page is http://localhost/epi420/default.aspx. No matter what I set in EPsRootDir and EPsHostUrl all links in default.aspx are relative to http://localhost (for instance http://localhost/templates/page.aspx?id=41) and therefore does not work. Why is Container.CurrentPage.LinkURL not taking EPsRootDir into account? When using a virtual directory, I hope I'm not supposed to replace all linkreferences with something using System.Web.HttpRuntime.AppDomainAppVirtualPath ...
Mar 25, 2008 18:34
Currently the RootDir-parameter is not used when populating the linkUrl parameter. As it is today you have to use the function "rebuild links" in the admin mode to replace the root dir of current links. The use of the rootdir value when creating the linkUrl has been on our wishlist for quite awhile so we will probably change this in the future.
Mar 25, 2008 18:36
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.