generate-config: restore apache conditions