Piwik 不显示图像

Piwik not showing the images

我 installed/configured Piwik 在 RHEL 7 服务器上(使用 Apache 2.4 和 PHP 7.0),但是图片没有显示。

URL f.ex。徽标的 http://localhost/plugins/Morpheus/images/logo.svg or "http://.../plugins/Morpheus/images/logo.png”。当我直接打开 url 时,出现此错误:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at (mail) to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

如有任何帮助,我将不胜感激。

此致

"..plugins/.htaccess":

'# This file is auto generated by Piwik, do not edit directly
# Please report any issue or improvement directly to the Piwik team.

# First, deny access to all files in this directory
<Files "*">
<IfModule mod_version.c>
        <IfVersion < 2.4>
                Order Deny,Allow
                Deny from All
        </IfVersion>
        <IfVersion >= 2.4>
                Require all denied
        </IfVersion>
</IfModule>
<IfModule !mod_version.c>
        <IfModule !mod_authz_core.c>
                Order Deny,Allow
                Deny from All
        </IfModule>
        <IfModule mod_authz_core.c>
                Require all denied
        </IfModule>
</IfModule>
</Files>
# Serve HTML files as text/html mime type - Note: requires mod_mime apache module!
<IfModule mod_mime.c>
   AddHandler text/html .html
   AddHandler text/html .htm
</IfModule>

# Allow to serve static files which are safe
<Files ~ "\.(gif|ico|jpg|png|svg|js|css|htm|html|swf|mp3|mp4|wav|ogg|avi|ttf|eot)$">
<IfModule mod_version.c>
        <IfVersion < 2.4>
                Order Allow,Deny
                Allow from All
        </IfVersion>
        <IfVersion >= 2.4>
                Order Allow,Deny
                Allow from All
                #Require all granted
        </IfVersion>
</IfModule>
<IfModule !mod_version.c>
        <IfModule !mod_authz_core.c>
                Order Allow,Deny
                Allow from All
        </IfModule>
        <IfModule mod_authz_core.c>
                Order Allow,Deny
                Allow from All
                #Require all granted
        </IfModule>
</IfModule>
</Files>'

我已经注释了“../piwik/plugins/.htaccess”和“../piwik/libs/.htaccess”中的所有行(文件内容见上文)。这解决了我的问题。至少 pages/images 显示正确。