Differences

This shows you the differences between two versions of the page.

Link to this comparison view

software:awstats [2011/01/23 14:26]
cyril [Integration]
software:awstats [2013/09/19 16:40]
Line 1: Line 1:
-====== awstats ====== 
- 
-===== Plugins ===== 
- 
-  - [[http://www.internetofficer.com/awstats/plugin-follow-me/|Follow Me]] 
- 
-===== Mods ===== 
-==== Follow Me Plugin ==== 
- 
-Fix the reverse DNS host problem. 
- 
-<code perl> 
-$filename = '/var/lib/awstats/dnscachelastupdate.' . $SiteDomain . '.txt'; 
-if (open(FILE, $filename)) { 
-        while(<FILE>) 
-        { 
-                chomp; 
-                @fields = split('\t', $_); 
-                if (lc($fields[2]) eq $host) { $host = $fields[1]; } 
-        } 
-        close FILE; 
-} 
-</code> 
- 
-TODO: 
-  * fix when different IPs are resolved to the same ns, example:<code> 
-21593800        92.103.0.242    reverse.completel.net 
-21593800        213.30.130.42   reverse.completel.net 
-21593800        92.103.7.242    reverse.completel.net 
-21593800        92.103.143.70   reverse.completel.net 
-21593800        212.99.78.124   reverse.completel.net 
-21593800        92.103.167.46   reverse.completel.net 
-</code> This should even be fixed in awstats that may detect that this resolution was not complete, or detect that different IPs resolved to the same name and ignore resolution, or maintain a list of not unique names... Or I change the fix to resolve every IP in the log file, which will be a lot longer than back-resolving once the name, or we get a list of IPs, but still they are different visitors (here from all over France), so we should just detect several IPs resolved to the same name, put that name in a file, and then either ignore this name or build a compound name with the ip. 
- 
-==== Who Visited Plugin ==== 
- 
-I wrote a new plugin, based on Following Me plugin, that shows all hosts that visited a given page (vs all pages that a given host visited, as Following Me is doing). 
- 
-{{:software:whovisited.pm.txt|whovisited.pm}} 
- 
-TODO: 
-  * exclude search engine robots, or at least display user agent 
-  * when looking for a directory only, don't display all files in this directory, only the directory or index.php/html 
- 
-==== Integration ==== 
- 
-It would be perfect if these two plugin functionalities were directly integrated in awstats, directly with a link on the url or hostname instead of additional column, and everywhere so that we can continuously navigate between pages and hosts stats. And more important, it should use a database to avoid parsing the whole log every time. 
  
software/awstats.txt ยท Last modified: 2013/09/19 16:40 (external edit)
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0