routefh by checking whether reqStr starts with path or not