Fixed server error redirect + app remote relative urls