Support context relative links and set a default context root