Differences

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

Link to this comparison view

software:awstats [2011/01/21 12:30]
cyril [Who Visited Plugin]
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> 
- 
-==== 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 
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