also set config.(_config.)url in the setSubdirPath middleware