A solution to the problem is to change the following in awstats.pl:
if ($LevelForFileTypesDetection){ $datatoload{$filemime} = 1;
to:
# if ($LevelForFileTypesDetection)
{ $datatoload{$filemime} = 1;
This still won't handle the .cur extension. You could handle it by adding it to MimeHashLib at lib/mime.pm or you could simply change ( $LevelForFileTypesDetection >= 2 || $MimeHashLib{$1} ) to ( $LevelForFileTypesDetection >= 0 || $MimeHashLib{$1} )
A solution to the problem is to change the following in awstats.pl:
to:
# if ($LevelForFileT ypesDetection) $filemime} = 1;
{ $datatoload{
This still won't handle the .cur extension. You could handle it by adding it to MimeHashLib at lib/mime.pm or you could simply change ( $LevelForFileTy pesDetection >= 2 || $MimeHashLib{$1} ) to ( $LevelForFileTy pesDetection >= 0 || $MimeHashLib{$1} )