updated settings so it works with apache