INN commit: trunk (samples/innreport.conf.in scripts/innreport.in)
INN Commit
Russ_Allbery at isc.org
Sun Dec 21 21:07:28 UTC 2008
Date: Sunday, December 21, 2008 @ 13:07:28
Author: iulius
Revision: 8246
The default value for HTML output is false.
Add the html-unknown parameter in innreport.conf.
Use the new @HTTPDIR@ configure variable instead of a hard-coded path.
Modified:
trunk/samples/innreport.conf.in
trunk/scripts/innreport.in
---------------------------+
samples/innreport.conf.in | 5 +++--
scripts/innreport.in | 6 +++---
2 files changed, 6 insertions(+), 5 deletions(-)
Modified: samples/innreport.conf.in
===================================================================
--- samples/innreport.conf.in 2008-12-21 19:17:44 UTC (rev 8245)
+++ samples/innreport.conf.in 2008-12-21 21:07:28 UTC (rev 8246)
@@ -13,6 +13,7 @@
libpath "@libdir@";
logpath "@LOGDIR@";
unknown true; # want unknown entries.
+ html-unknown true; # want unknown entries in HTML reports.
max_unknown 50; # max unknown entries to display.
casesensitive true;
module "innreport_inn"; # ${libpath}/${module}.pm
@@ -26,12 +27,12 @@
index "index.html"; # name of the HTML index file.
# html_file_extension ".html";
- # html_dir "/var/www/News/stats"; # default to pathhttp in inn.conf
+ # html_dir "@HTTPDIR@"; # default to pathhttp in inn.conf.
img_dir "pics"; # images will go to ${html_dir}/${img_dir}
cycle none; # use a number or 'none'.
separator "."; # use a valid filename character.
title "Daily Usenet report";
- # title "Daily Usenet report for <a href=\"/News/stats/\">news.y.z</a>";
+ # title "Daily Usenet report for <a href=\"news/stats/\">news.y.z</a>";
# footer "Local contact: <a href=\"mailto:x at y.z\">x at y.z</a>";
# Attributes inside <body> tag. Note that this is not valid XHTML.
Modified: scripts/innreport.in
===================================================================
--- scripts/innreport.in 2008-12-21 19:17:44 UTC (rev 8245)
+++ scripts/innreport.in 2008-12-21 21:07:28 UTC (rev 8246)
@@ -95,7 +95,7 @@
use Carp qw(confess);
## Do you want to create a Web page. Pick DO or DONT.
-my $HTML = "DO";
+my $HTML = "DONT";
## Do you want the graphs (need $HTML too). Pick DO or DONT.
my $GRAPH = "DO";
@@ -2819,8 +2819,8 @@
print " -casesensitive Case sensitive";
print " [default]" if ($CASE_SENSITIVE);
print "\n\n";
- print "Use no in front of boolean options to unset them.\n";
- print "For example, \"-html\" is set by default. Use \"-nohtml\" to remove this\n";
+ print "Use \"no\" in front of boolean options to unset them.\n";
+ print "For example, \"-graph\" is set by default. Use \"-nograph\" to remove this\n";
print "feature.\n";
exit 0;
}
More information about the inn-committers
mailing list