2

Me and my colleagues are struggling to find a solution over a strange problem with AWStats. Some months ago, we moved a production environment from a CentOS to an Ubuntu 14.04. Since then, the Referrers sections is not showing anymore browsers / external pages access and the Search Keywords and Search Keyphrases sections are empty. Do you have any clue about what could be causing this?

Here are our current software versions:

  • Ubuntu 14.04 kernel 3.13.0-108-generic
  • Apache2: 2.4.10
  • Perl: 5.18.2
  • Awstats: 6.6 build 1.887

Apache2 log configurations:

LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" 
combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
CustomLog /var/log/apache2/access.log combined

Awstats log configurations:

LogFile="/var/log/apache2/access.log"
LogFormat=1``LogType=W`
LogSeparator=" "

extract from logs:

109.239.235.240 - - [31/Aug/2017:12:52:19 +0200] "GET /box-office-2/ HTTP/1.1" 200 18589 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.131 Safari/537.36"
109.239.235.240 - - [31/Aug/2017:12:52:19 +0200] "GET /flash-news/ HTTP/1.1" 200 18895 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0"
109.239.235.240 - - [31/Aug/2017:12:52:19 +0200] "GET /eventi/venezia/ HTTP/1.1" 200 19960 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.131 Safari/537.36"
109.239.235.240 - - [31/Aug/2017:12:52:19 +0200] "GET /eventi/gioco-lotto/ HTTP/1.1" 200 19720 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.114 Safari/537.36"
109.239.235.240 - - [31/Aug/2017:12:52:19 +0200] "GET /altri-articoli/ HTTP/1.1" 200 19705 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0"
109.239.235.240 - - [31/Aug/2017:12:52:19 +0200] "GET /eventi/torino-festival/ HTTP/1.1" 200 19571 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0"`

Any help would be greatly appreciated. If you need more info please ask.

chicks
  • 3,639
  • 10
  • 26
  • 36
John
  • 29
  • 3
  • 1
    Please show one of the following: 1) Extract of log file from old and new server. 2) Log file format configuration from old and new server. 3) Log format configuration on Apache, AWStats and extract from log file from the new server. – Tero Kilkanen Aug 31 '17 at 10:19
  • Your Apache log does not show referral information for some reason. Do you have something else with Apache that is dealing with serving web pages? – Tero Kilkanen Aug 31 '17 at 13:14
  • @TeroKilkanen like what, for example? We have Wordpress on it, but it was there since before the migration. – John Aug 31 '17 at 14:56
  • I mean a load balancer or something. – Tero Kilkanen Aug 31 '17 at 15:03
  • @TeroKilkanen I'm not really sure about that because we're using a web hosting (Aruba) – John Sep 01 '17 at 09:57
  • 1
    Time to talk to your hosting provider. Something upstream of Apache is stripping Referer headers, by the look of it. – womble Sep 06 '17 at 04:52

1 Answers1

0

This is due to changes in search engine URL's. Nothing to do with your actions. https://sourceforge.net/p/awstats/discussion/43428/thread/16e71c5b/

DIV
  • 1
  • Thank you for your answer. Since links may become invalid in the future, please quote the essential part in your answer. – marsh-wiggle Nov 21 '18 at 12:27