support path other than "/"