fixed client path rebasing on rewritepath