# # $Id: superstat.cfg,v 1.2 1999/11/13 16:17:00 peten Exp peten $ # ### superstat (c)1999 Pete Nelson ## http://www.serversolved.com/superstat/ ## ## You may freely use, edit, and distribute this program free of charge, ## under the condition that the copyrite information remains in tact. ## ## The sale of this program is expressly forbidden. ## ## This is the config file for 'superstat'. ## it is parsed by perl every time superstat runs. ## ## NOTE: '#'s must be the first character of a line to be a comment! ## # Our server's name: server Pete's Machine # do we do hostlookups? (0 = no | 1 = yes) hostlookup 1 # Display Graphical hourly beakdown? (0 = no | 1 = yes) graph 1 # Use meta file if exists? (0 = no | 1 = yes) use_meta_default 1 # Image Directory for the graph # this is relative to the generated html page # (or DocumentRoot of your server if it begins with '/') img_dir "/images/" # Least number of hits to display a page (for 'Top Requests') least_hits 1 # Maximum number of 'Top Directories' to display max_dirs 10 # Maximum number of 'Top Clients' to display max_clients 10 # The title # You can use any variable set by superstat - dig into the code for more! # Here are a few examples: # $server - server name # $hits - total hits # $beg_date - Starting Date ('20/Mar/1999') # $end_date - Ending Date # $uniqueURL - total unique URL requests # $hitsperhr - Average hits/hr html_title "Web Stats for '$server' ($hits total)" # Directories we don't want to show up in 'Top Reqs' hidden_dirs /cgi-bin/ /images/ /gifs/ /banner/ /excite/ /js/ /icons/ /titaniaD/ /titaniaC/ # HTML body definition: body_def "bgcolor=white text=black" # HTML table definition: table_def "border=1 bordercolor=black bgcolor=#99CCFF" table_header_def "bgcolor=#CCCCFF"