wrap base url for war deployment