When you try to activate the automatic statistics via cron job and by usage of the geturl.pl Script there is an annoying problem. The default server configuration delivered for TWiki under Apache denies access to the bin-directory for an "anonymous_spider" which basically is a request with an empty "User-Agent:" header field. The geturl.pl script does not provide this header so all http-requests coming from that script are automatically denied and thus the statistics won't be created.
One solution is to put a dummy header field into the request by editing the following line of tools/geturl.pl:
my $req = "GET $theUrl HTTP/1.0\r\n$theHeader\r\n\r\n";
to look like
my $req = "GET $theUrl HTTP/1.0\r\n$theHeader\r\nUser-Agent: TWikiTool\r\n\r\n";
This solved the issue for me.
- 29 Jul 2008
- 30 Jul 2008
Cleaned "WaitingFor" field.
- 10 Aug 2008