new get uri algorithm 

when REQUEST_URI is exist