add script to generate apache config