connect/express middleware that provides url path-related configurations for requests