Support sub-uri deployments
Merge pull request #76 from ares/master

Support sub-uri deployments