Optimize settings to co-exist with apache