run apache in the foreground