#!/usr/bin/perl ############################################ ## ## ## WebLog ## ## by Darryl Burgdorf ## ## ## ## Configuration File ## ## ## ############################################ require "/www/cgi-bin/weblog/weblog.pl"; #change these for the domain this file is for $SystemName = "chuckandgerry.com"; $LogFile = "/www/logs/chuckandgerry.com-access_log"; $FileDir = "/www/htdocs/chuckandgerry/logs"; #$IPLog = "/usr/foo/logs/ips"; $ReportFile = "log.html"; #$DetailsFile = "log.details.html"; #$RefsFile = "log.refs.html"; $KeywordsFile = "log.keys.html"; #$AgentsFile = "log.agents.html"; $EOMFile = ""; $OrgName = "Planetmind"; $OrgDomain = '(planetmind.net)'; $GraphURL = "http://planetmind.org/images"; $GraphBase = "visits"; # $IncludeOnlyRefsTo = '(includethis|andthis)'; # $ExcludeRefsTo = '(excludethis|andthis)'; # $IncludeOnlyDomain = ''; # $ExcludeDomain = ''; $IncludeQuery = 0; $PrintFiles = 1; $Print404 = 1; $PrintDomains = 0; $PrintUserIDs = 0; $PrintTopNFiles = 10; $TopFileListFilter = '(\.gif|\.jpg|\.jpeg|Code)'; $PrintTopNDomains = 0; $LogOnlyNew = 1; $NoSessions = 0; $NoResolve = 0; $HourOffset = 0; $DetailsFilter = '(\.gif|\.jpg|\.jpeg)'; $DetailsDays = 7; $refsexcludefrom = '(file:)'; $refsexcludeto = '(\.gif|\.jpg|\.jpeg)'; $RefsStripWWW = 1; $RefsMinHits = 1; $TopNRefDoms = 10; $AgentsIgnore = '(\.gif|\.jpg|\.jpeg)'; $Verbose = 0; $bodyspec = "BGCOLOR=\"#ffffff\" TEXT=\"#000000\""; $headerfile = "/www/cgi-bin/weblog/header.txt"; $footerfile = "/www/cgi-bin/weblog/footer.txt"; &MainProg; print "Content-type: text/html\n\n"; print "
"; print qq!
Primary Access Summary Report The primary WebLog access report provides the following information: A. Long-Term Statistics 1. Monthly Statistics: An overview of site activity (number of hits, number of bytes transferred, and approximate number of visitors) per month for each month since you started running WebLog. 2. Daily Statistics (Past Five Weeks): An overview of site activity per day for the past five weeks. 3. Day of Week Statistics: An overview of site activity by weekday, maintained as a running total since you started running WebLog. 4. Hourly Statistics: An overview of site activity by hour of the day, maintained as a running total. 5. "Record Book": A simple listing of the days on which your site had the most hits, transferred the most data and saw the most visitors. Each of the "Long-Term Statistics" reports (except the "record book," of course) lists four pieces of information: Hits, Bytes, Visits and PViews. The number of "hits" is the total number of files requested from the server. For example, if a visitor loads a page which includes four inline graphics, a total of six hits will be recorded in the access log. The number of bytes represents the total amount of information transferred by the server in filling those requests. (Note that WebLog automatically factors in a bit extra in its calculations to allow for the fact that "header" information -- which is not recorded in the server access log -- is sent by the server along with each file.) The number of "visits" is an approximation of the number of actual individual visitors to your Web site. This is only a *very* rough approximation, and should be regarded as such. The number of "pview" shows the number of Web pages viewed by your visitors. Each of the "Long-Term Statistics" reports also includes a simple "bar graph" representation; the graph can be configured to reflect whichever of the four items you're most interested in being able to track "at a glance." B. Statistics for The Current Month 1. Top N Files by Number of Hits (optional): A list of the pages most frequently requested. 2. Top N Files by Volume (optional): A list of the pages which resulted in the greatest number of bytes transferred. 3. Complete File Statistics (optional): A list of all pages accessed in the current calendar month, with the date of last access, number of times requested, and total number of bytes transferred. 4. Top N Most Frequently Requested 404 Files (optional): A list of the pages people are requesting most often which don't actually exist on your site. 5. Complete 404 File Not Found Statistics (optional): A complete list of those nonexistent files. 6. User ID Statistics (optional): A complete list of user IDs (and the associated second-level domains) utilized by the visitors to your Web site. Note that this report can, of course, only be generated if at least part of your Web site is password protected through your server's default system. 7. "Top Level" Domains: A breakdown of how many visits you've had from each type of domain (.com, .net, .edu, etc.) 8. Top N Domains by Number of Hits (optional): A list of the IP addresses (domains) from which people have visited your site most often. 9. Top N Domains by Volume (optional): A list of the IP addresses from which people have requested the greatest amount of information. 10. Complete Domain Statistics (optional): A complete list of the IP addresses from which people have visited your site since the beginning of the current calendar month. Each of the "Current Month" reports resets automatically at the beginning of each month. This allows you to easily keep track of things while preventing the report file from reaching too ridiculous a size over time.
Detailed Report
Shows you detailed "tracks" of the paths taken through your site by
visitors for however many days you specify, and will give you overview
information regarding how many unique visitors you've had each day and
how long they seem to be staying around. If logging of referring URLs
is enabled, it will also show you, where possible, where your visitors
came from. Please note that precise tracking of the number of visitors
is impossible; the information in this report is at best a reasonably
close approximation based on the information in your server access log.
Agent Report
The agent and platform reports list the agents (browsers)
and platforms (operating systems) utilized by visitors to your pages.
Again, of course, this report is only available if your server log
contains the necessary information.