Raise a configuration error for invalid pages configs