Refs #5423 - minor changes to support capsule installer

Did some refactoring of apache configuration as part of the updates