moved apache config to a class attribute