Site Tools


linux:ubuntu:awstats

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:ubuntu:awstats [2015/11/05 11:01] lunetikklinux:ubuntu:awstats [2018/12/20 17:40] (current) – Discussion status changed lunetikk
Line 12: Line 12:
 ==== Logrotate ==== ==== Logrotate ====
 Copy this in "/etc/logrotate.d/awstats \\ Copy this in "/etc/logrotate.d/awstats \\
-<code>+<code bash awstats>
 /var/log/apache2/*_log { /var/log/apache2/*_log {
     weekly     weekly
Line 36: Line 36:
  
 == Description: == == Description: ==
-The list of refs and OS info is empty because of a wrong perl version. Error occurs with perl above 5.10.0+The list of refs and OS info is empty because of a wrong perl version. Error occurs with perl above 5.10.0. \\
 Check your version with: Check your version with:
 <code> <code>
Line 47: Line 47:
 == Fix: ==  == Fix: == 
 Open your awstats.pl Open your awstats.pl
-<code>vi /usr/local/awstats/wwwroot/cgi-bin/awstats.pl</code>+<code bash>vi /usr/local/awstats/wwwroot/cgi-bin/awstats.pl</code>
 Line 1354, comment  Line 1354, comment 
-<code>+<code bash>
 if (/\(\?[-\w]*:(.*)\)/) { $1 } if (/\(\?[-\w]*:(.*)\)/) { $1 }
 </code>  </code> 
 insert "UnCompileRegex($_)" insert "UnCompileRegex($_)"
-<code>+<code bash>
 OptimizeArray { OptimizeArray {
 my $array = shift; my $array = shift;
Line 61: Line 61:
  
 Line 7812, comment  Line 7812, comment 
-<code>+<code bash>
 shift =~ /(\?[-\w]:(.))/; shift =~ /(\?[-\w]:(.))/;
 </code>  </code> 
 insert "shift =~ /(\?[-^\w]:(.))/;" insert "shift =~ /(\?[-^\w]:(.))/;"
-<code>+<code bash>
 UnCompileRegex { UnCompileRegex {
 shift =~ /(\?[-^\w]:(.))/; shift =~ /(\?[-^\w]:(.))/;
Line 74: Line 74:
 \\ \\
 \\ \\
-~~DISCUSSION~~+~~DISCUSSION:closed~~
  
  
linux/ubuntu/awstats.1446717663.txt.gz · Last modified: 2017/03/01 12:50 (external edit)