Removing some attributes for apache