URL change for apps not mounted in root

HI Bigpresh,

I have added request->uri_base and replaced the above with old hardcoded path to /nytprof to facilitate what i mentioned in the subject, 

Hope you would be happy to merge this change.

Thanks,

Mopi.