Fix bug in Apache enable and disable site functions