NOREF: Optimizing some of the resources in apache.pp and fixing a typo in the limits template