pathInfo contains appUrl.
set appRoot as baseUrl.