Nice job, AWStats - let's include a redirector, just in case somebody will need it:
http://pierceive.com/cgi-bin/awstats/awredir.pl?url=http://google.com/
A quote from that script:
if (! $ENV{'GATEWAY_INTERFACE'}) { # Run from command line
print "----- $PROG $VERSION (c) Laurent Destailleur -----\n";
print "This script is absolutely not required to use AWStats.\n";
print "It's a third tool that can help webmaster in their tracking tasks but is\n";
print "not used by AWStats engine.\n";
print "\n";
print "This tools must be used as a CGI script. When called as a CGI, it returns to\n";
print "browser a redirector to tell it to show the page provided in 'url' parameter.\n";
print "So, to use this script, you must replace HTML code for external links onto your\n";
print "HTML pages from\n";
print "<a href=\"http://externalsite/pagelinked\">Link</a>\n";
print "to\n";
print "<a href=\"http://mysite/cgi-bin/awredir.pl?url=http://externalsite/pagelinked\">Link</a>\n";
print "\n";
print "For your web visitor, there is no difference. However this allow you to track\n";
print "clicks done on links onto your web pages that point to external web sites,\n";
print "because an entry will be seen in your own server log, to awredir.pl script\n";
print "with url parameter, even if link was pointing to another external web server.\n";
print "\n";
sleep 2;
exit 0;
}
But does anybody care to read this?