#847 Missing Image icons for mime family

open
nobody
Other (206)
5
2012-10-11
2011-02-08
No

From version 7.0, name of image icon corresponds to the name of mime family. But image icons below is not contained in zip file.

conf.png
csv.png
document.png
dtd.png
flv.png
fon.png
package.png
runtime.png (Already reportted)
swf.png
vbs.png
xsl.png

Discussion

  • J. Hulala

    J. Hulala - 2011-05-30

    Simple solution is to add the following lines to .htaccess file:

    <IfModule mod_rewrite.c="">
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^awstatsicons/mime/(.*).png$ awstatsicons/mime/notavailable.png
    </IfModule>

     
  • pdt256

    pdt256 - 2011-09-04

    Nginx solution:

    location ^~ /icon/mime/ {
    try_files $uri /icon/mime/notavailable.png;
    }

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2012-06-09

    You can run this script to fix the problem.

    cp flash.png swf.png
    cp flash.png flv.png
    cp library.png runtime.png
    cp css.png conf.png
    cp rar.png package.png
    cp archive.png archive.bak.png
    cp rar.png archive.png
    cp script.png xsl.png
    cp doc.png document.png

     
    Last edit: Anonymous 2016-01-28

Log in to post a comment.