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} )
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1066834
Title:
LevelForFileTypesDetection=0 produces unexpected results
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/awstats/+bug/1066834/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs