"Fossies" - the Fresh Open Source Software Archive 
Member "srg-1.3.6/examples/srg.conf" (5 Aug 2009, 4138 Bytes) of package /linux/privat/old/srg-1.3.6.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Generic config files source code syntax highlighting (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
1 ##### SRG Example Configuration File #####
2
3 # Squid log file to process
4 # Defaults to access.log in the srg directory.
5 # e.g. log_file "/usr/local/squid/logs/access.log"
6
7 # Directory to output HTML files to.
8 # Defaults to ./srg_reports.
9 # e.g. output_dir "/var/www/srg_reports"
10
11 # URL that the following directory is accessible at (no servername)
12 # Defaults to /srg_reports/
13 output_url "/srg_reports/"
14
15 # Directory containing required resources for SRG
16 # Defaults to /usr/local/share/srg
17 # resource_dir "/usr/local/share/srg"
18
19 # Title for use in HTML headers
20 # Defaults to "SRG - Squid Log Analysis"
21 # e.g. title "SRG - Squid Log Analysis"
22
23 # Group reports by "U" for user, "A" for address or "S" for subnet
24 # Default is no grouping
25 # e.g. groupby "U"
26
27 # The netmask to be used when grouping by subnet
28 # Disabled by default
29 # e.g. groupbynetmask "255.255.255.0"
30
31 # Set start and end times to create logs for.
32 # Default is all entries in log file, regardless of timestamp
33 # e.g. time_period "17 Jun 2002 10:43-18 Jun 2002 10:43"
34
35 # PHP Header file to include with reports. This forces srg to create PHP files.
36 # Also, HTML headers will not be automatically created if this option is set.
37 # Default: header.php from resource_dir is copied to output_dir
38 # e.g. phpheader "/usr/local/header.php"
39
40 # PHP Footer file to include with reports. This forces srg to create PHP files.
41 # Also, HTML footers will not be automatically created if this option is set.
42 # Default: footer.php from resource_dir is copied to output_dir
43 # e.g. phpfooter "/usr/local/footer.php"
44
45 # Maximum age (in days) of a report. Reports older than this will be removed.
46 # Typically you would set this option via the -m command line option in your
47 # cron scripts rather than in this file.
48 # Default is 0, i.e. disabled
49 # e.g. max_age 30
50
51
52 #### Client Filter rules ####
53 # Filter by... (Must be used in conjunction with filter criteria)
54 # Default is to not filter
55 # e.g. for ip filtering: filterby "BY_IP"
56 # for user filtering: filterby "BY_USER"
57 # for subnet filtering: filterby "BY_SUBNET"
58
59 # Criteria for filtering
60 # Disabled by default
61 # e.g. for ip filtering: filtercrit "192.168.250.2"
62 # for user filtering: filtercrit "username1"
63 # for subnet filtering: filtercrit "255.255.255.0"
64
65
66
67 #### Destination Filter rules ####
68 #
69 # File containing destination site filter entries. Any request for a site
70 # matching an entry in this file will be ignored. See filtered_sites in the
71 # examples directory for a description of the required format.
72 # Default: not set.
73 # e.g. destinationsitefilter_file "/etc/srg/filtered_sites"
74
75
76
77 #### Misc options ####
78 # Show debug information
79 # Disabled by default
80 # e.g. debug true
81
82 # Report verbosely
83 # Disabled by default
84 # Note: This is automatically enabled if the debug option is set
85 # e.g. verbose true
86
87 # Include time values in HTML reports
88 # Disabled by default
89 # e.g. show_times true
90
91 # Include "transfer rate" values in HTML reports
92 # Disabled by default
93 # e.g. show_rates true
94
95 # When show_hosts is true, this will perform DNS lookups on
96 # hostnames that are expressed as IP addresses.
97 # Disabled by default
98 # e.g. lookup_hosts true
99
100 # If no username is present in the squid logs try and convert the
101 # client IP address to a username using the following file.
102 #
103 # e.g. iptouser_file "/etc/srg/ip2user"
104
105 # If a username doesn't exist, show the IP address instead
106 # If this is not set, the line is not included in the report.
107 # Disabled by default
108 # e.g. nonameexists_showip true
109
110 # If a user only has denied hits, don't show them
111 # e.g. dontshow_onlydeniedusers true
112
113 # Don't generate the site report
114 # Disabled by default
115 # e.g. disable_sitereport true
116
117 # Use PHP authentication. Requires the PHP header to be set, and for the following
118 # functions to be created within it:
119 # function can_view($string_username)
120 # function report_error($string_errormessage)
121 # e.g. php_authentication true
122
123 # Enable column sorting via Javascript
124 # Disabled by default
125 # eg. sort_columns true
126
127 # Exclude sites/users with less than this number of requests from the report
128 # Disabled by default
129 # eg. minimum_connects 10
130