$OpenBSD: patch-sarg_conf,v 1.4 2014/10/05 17:35:24 rpe Exp $ --- sarg.conf.orig Sat Oct 4 10:48:55 2014 +++ sarg.conf Sat Oct 4 10:50:25 2014 @@ -4,7 +4,7 @@ # Where is the access.log file # sarg -l file # -#access_log /usr/local/squid/var/logs/access.log +#access_log /var/squid/logs/access.log # TAG: graphs yes|no # Use graphics where is possible. @@ -17,7 +17,7 @@ # The full path to the TTF font file to use to create the graphs. It is required # if graphs is set to yes. # -#graph_font /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf +#graph_font /etc/sarg/fonts/DejaVuSans.ttf # TAG: title # Especify the title for html page. @@ -117,7 +117,7 @@ # The reports will be saved in that directory # sarg -o dir # -#output_dir /var/www/html/squid-reports +#output_dir /var/www/htdocs/sarg # TAG: anonymous_output_files yes/no # Use anonymous file and directory names in the report. If it is set to @@ -309,7 +309,7 @@ # Only codes matching exactly one of the line is rejected. The # comparison is not case sensitive. # -#exclude_codes /usr/local/sarg/etc/exclude_codes +#exclude_codes /etc/sarg/exclude_codes # TAG: replace_index string # Replace "index.html" in the main index file with this string @@ -545,7 +545,7 @@ # Generate reports from SquidGuard logs. # Use 'none' to disable. # You can use sarg -L filename to use an alternate squidGuard log. -# squidguard_conf /usr/local/squidGuard/squidGuard.conf +# squidguard_conf /etc/squidguard/squidguard.conf # #squidguard_conf none @@ -555,7 +555,7 @@ # If this option is specified, it takes precedence over squidguard_conf. # The command line option -L override this option. # -#redirector_log /usr/local/squidGuard/var/logs/urls.log +#redirector_log /var/log/squidguard/urls.log # TAG: redirector_filter_out_date on|off # This option replaces squidguard_ignore_date and redirector_ignore_date whose names were not @@ -591,13 +591,13 @@ # #parsed_output_log none -# TAG: parsed_output_log_compress /bin/gzip|/usr/bin/bzip2|nocompress +# TAG: parsed_output_log_compress /usr/bin/gzip|/usr/bin/bzip2|nocompress # Command to run to compress sarg parsed output log. It may contain # options (such as -f to overwrite existing target file). The name of # the file to compresse is provided at the end of this # command line. Don't forget to quote things appropriately. # -#parsed_output_log_compress /bin/gzip +#parsed_output_log_compress /usr/bin/gzip # TAG: displayed_values bytes|abbreviation # how the values will be displayed in reports. @@ -630,7 +630,7 @@ # Sarg will create sarg-php directory with some PHP modules: # - sarg-squidguard-block.php - add urls from user reports to squidGuard DB # -#www_document_root /var/www/html +#www_document_root /var/www/htdocs # TAG: block_it module_url # This tag allow you to pass urls from user reports to a cgi or php module, @@ -638,7 +638,7 @@ # # Eg.: block_it /sarg-php/sarg-block-it.php # sarg-block-it is a php that will append a url to a flat file. -# You must change /var/www/html/sarg-php/sarg-block-it to point to your file +# You must change /var/www/htdocs/sarg-php/sarg-block-it to point to your file # in $filename variable, and chown to a httpd owner. # # sarg will pass http://module_url?url=url @@ -788,7 +788,7 @@ # 65.52.00.00/14 *.mail.live.com # re:/\.dropbox\.com(:443)?/ dropbox # re:/([\w-]+)\.(\w*[a-zA-Z]\w*)(?::\d+)?$/\1.\2 -#hostalias /usr/local/sarg/hostalias +#hostalias /etc/sarg/hostalias # TAG: keep_temp_log yes|no # Keep temporary files created by sarg to produce its reports. The normal