Generate apache configuration file