Configure the apache with portal and automation