RefStats
RefStats is a small perl script that scans the refered_log or ECLF format access_log generated by NCSA httpd 1.4/1.5 or Apache and produces a list summarizing what referring URLs were reported by browsers, with a count of the number of times each referring URL was reported. The list is sorted by the local page accessed. It can also produce a list of broken links.