add parameter flexibility to read_apache_config