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 10:53] 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 perlversion 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>
 perl -v perl -v
 </code> </code>
-\\ 
  
 == Reason: ==  == Reason: == 
Line 47: Line 46:
  
 == Fix: ==  == Fix: == 
-Controlpanel -useraccounts -> useraccounts -useraccountcontrol on or off\\ +Open your awstats.pl 
-Remove the check and ok\\ +<code bash>vi /usr/local/awstats/wwwroot/cgi-bin/awstats.pl</code> 
-Windows will notice that you turned the controls off and you get notifications because you have deactivate it... thanks Windows...\\ \\ +Line 1354, comment  
-You can deactivate the notifications in controlpanel -security -> securitycenter. On the left side select "change the security notificationmethode" and select in the next window "no notifications and no symbol"+<code bash> 
 +if (/\(\?[-\w]*:(.*)\)/) { $1 } 
 +</code>  
 +insert "UnCompileRegex($_)" 
 +<code bash> 
 +OptimizeArray { 
 +my $array = shift; 
 +my @arrayunreg = map { UnCompileRegex($_) } @$array; 
 +my $notcasesensitive = shift; 
 +</code> 
 + 
 +Line 7812, comment  
 +<code bash> 
 +shift =~ /(\?[-\w]:(.))/; 
 +</code>  
 +insert "shift =~ /(\?[-^\w]:(.))/;" 
 +<code bash> 
 +UnCompileRegex { 
 +shift =~ /(\?[-^\w]:(.))/; 
 +return $1; 
 +
 +</code> 
 \\ \\
 \\ \\
-~~DISCUSSION~~+~~DISCUSSION:closed~~
  
  
linux/ubuntu/awstats.1446717209.txt.gz · Last modified: 2017/03/01 12:50 (external edit)