#=======================================================================# # # # MagicStats.cfg # # # #=======================================================================# #---------------------------------------------------------------------------- [Global] #------= # You can modify default values here... #Access Log : "/usr/local/httpd/logs/access_log"; #Access Log Type : "VHosts"; #Access Log : "/home/sabre/magic.accesslog.20000.gz"; Access Log : [ ["/usr/local/apache/logs/access_log", "http://www.nondot.org" ], ["/var/log/httpd/access_log", "http://www.nondot.org" ], ["/var/log/httpd/access_log.2001.01.13.gz", "http://www.nondot.org"], ["/var/log/httpd/access_log.2001.01.21.gz", "http://www.nondot.org"], ["/var/log/httpd/access_log.2001.01.26.gz", "http://www.nondot.org"], ["/var/log/httpd/access_log.2001.02.22.gz", "http://www.nondot.org"] ]; #Data Filename : "~/.MagicStats/MagicStats.dat"; # Define some other variables... $BGColor : "#FFFFFF"; Resources : [ ["/var/lib/MagicStats/", "/MagicStatsInst"] ]; Filters : [ ["UnEscape" ], ["Truncate", 120 ], ["RemoveIndexFilename", "index.html", "index.shtml", "index.htm", "index.cgi", "/"], # Use a rewrite rule to change the /~sabre symlink into /sabre ["Rewrite", "URL", "^/~sabre", "/sabre"], # Use a rewrite rule to change the http://nondot.org into http://www.nondot.org ["Rewrite", "REFERRER", "^(http://nondot.org/~?sabre|http://magic.hurrah.com/~sabre|http://www.nondot.org:80/~?sabre|http://spandex.nondot.org/~?sabre)", "http://www.nondot.org/sabre"], # Use a rewrite rule to merge all ip189.uni-com.net hosts... ["Rewrite", "HOST", "^ip....uni-com.net", "dhcp.uni-com.net"], ["Domainify", "*", "" ] ]; #---------------------------------------------------------------------------- [[Dejavu]] #--------= $PageName : "Chris's Web Creations"; $SectionFilter : ["*sabre*", ""]; $PageFilter : ($SectionFilter) + "*.GIF;*.JPG;*.gif;*.jpg;*.class"; $OutputPrefix : "Sabre"; $PathPrefix : "~/public_html/stats/"; $DailyLink : ($PathPrefix) + "index.html"; $MonthlyLink : ($PathPrefix) + "SabreMonthly.html"; #---------------------------------------------------------------------------- [[Fancy]] #-------= $PageName : "MagicStats Web Page"; $SectionFilter : ["http://www.nondot.org/MagicStats*", ""]; $PageFilter : ($SectionFilter) + "*.GIF;*.JPG;*.gif;*.jpg;*.class"; $OutputPrefix : "MS"; $PathPrefix : "/home/MagicStats/public_html/stats/"; $DailyLink : ($PathPrefix) + "index.html"; $MonthlyLink : ($PathPrefix) + "Monthly.html"; #---------------------------------------------------------------------------- [[Dejavu]] #--------= $PageName : "Operating Systems Resource Center"; $SectionFilter : ["http://www.nondot.org/sabre/os*", ""]; $PageFilter : ($SectionFilter) + "*.GIF;*.JPG;*.gif;*.jpg;*.class"; $OutputPrefix : "os"; $PathPrefix : "~/public_html/os/Stats/"; $DailyLink : ($PathPrefix) + "index.html"; $MonthlyLink : ($PathPrefix) + "Monthly.html";