Added URL rewriting compatibility to VM