Change path from SCRIPT_NAME to REQUEST_URI