The RefererIgnore directive adds to the list of strings to ignore in Referer headers. If any of the strings in the list is contained in the Referer header, then no referrer information will be logged for the request. Example:
RefererIgnore
www.ncsa.uiuc.edu
This avoids logging references from www.ncsa.uiuc.edu.