Fixes long-standing bug with configuring apache through stage config files.