fixed missing leading slash when REQUEST_URI is used to determine the uri