]> git.ipfire.org Git - thirdparty/AWStats.git/commitdiff
Add meta tags robots noindex,nofollow to avoid indexing of stats pages by robots.
authoreldy <>
Mon, 9 Jun 2003 11:50:07 +0000 (11:50 +0000)
committereldy <>
Mon, 9 Jun 2003 11:50:07 +0000 (11:50 +0000)
docs/awstats_changelog.txt
wwwroot/cgi-bin/awstats.pl

index c43162bb86e5ef0b25d7fc179c3021704f015d9a..3987b94e60d3bea5e5d02e195b21a145c01e215c 100644 (file)
@@ -17,6 +17,8 @@ New features/improvments:
   SkipDNSLookupFor, ...)
 - StyleSheet parameter works completely now and sample of CSS files are
   provided.
+- Add meta tags robots noindex,nofollow to avoid indexing of stats pages by
+  robots.
 - Added count for "Add to favourites"
 
 Other/Documentation:
index 50991699c5dcf642627fe7e04403d3fbcbec9d07..cd160bc2e231f399053eafd66a92a4420b49ea27 100644 (file)
@@ -533,7 +533,7 @@ use vars qw/ @Message /;
 #------------------------------------------------------------------------------
 sub html_head {
        if (scalar keys %HTMLOutput) {
-               my $AllowIndex=1;
+               my $AllowIndex=0;
                # Write head section
                if ($FrameName ne 'index') { print "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n\n";  }
                else { print "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Frameset//EN\">\n\n"; }