Changes some directory expansions to make apache happy