interceptor: match base pathname prefix for paths