move non-configurator functions to from configurator.c to config.c
setup pathconf before sending error response