I'm using awstats on my site, and would like to use the referrers option to record the full URL... ie;

instead of

I added the URLReferrerWithQuery option, and this now records the referrals properly. However, I've now hit a new problem. Is there any way to strip certain parameters from referral URL's? There is a "URLWithQueryWithoutFollowingParameters" option, but this only works for clicked URL's on my site, not referers.

What I'd like to do is strip out the various session ID's from referrals. Right now, I have a nice-sized chunk of referrals from various things along the lines of:


etc, and I'd like to strip all of those sid's out. Any ideas on this?