Refs #5423 - minor changes to support capsule installer

Did some refactoring of apache configuration as part of the updates
Merge pull request #23 from iNecas/master

Refs #5423 - minor changes to support capsule installer