Has anyone figured out how to capture 404-not-founds (or other error messages, for that matter) and somehow record it (database table?) so we can show a nice stat page saying these URls were requested but not found, here's the referrer source, etc., so web masters can fix their sites?
I was thinking redirecting the NotFoundResponse to some Tcl code, which can return the 404 page, and then log the incident in a DB table.
But maybe a much simpler approach would be to have some code that scans the access log for 404's and shows that.
An RSS feed for these events would be nice, obviously.
Thoughts?
/Lars