]> git.ipfire.org Git - thirdparty/AWStats.git/commit
Update awstats.pl 31/head
authorbcogit <b.collin@immanens.com>
Tue, 21 Jun 2016 14:51:19 +0000 (16:51 +0200)
committerGitHub <noreply@github.com>
Tue, 21 Jun 2016 14:51:19 +0000 (16:51 +0200)
commit40749c76303b4f65222c30ea0a5be24058ca3c66
tree646cd9e58f67509f6dbf006e766909d75699d7ce
parent7dd3e556f4ed90d0f1f67a1dddb8e54e183149c5
Update awstats.pl

I have log (from AWS load balancer) that have an ip syntaxe with port (ex: 54.32.12.1:60321)

The change is only to cut the port and only keep the ip, so the geoip tools could work correctly then.

I'm not a perl expert, but it work on my installation with my data.
wwwroot/cgi-bin/awstats.pl