For Apache2 servers, AllowOverride is required for Icons to display -> update documentations #10672

Open
4A4B opened this Issue Oct 4, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@4A4B

4A4B commented Oct 4, 2016

I have installed the Official Debian Package for Piwik on Debian Jessie. After the update of piwik to version 2.16.3 the icons in the backend were missing. The error log of the webserver showed this error message:

/usr/share/piwik/plugins/.htaccess: AddHandler not allowed here

This refers to this code in the file /usr/share/piwik/plugins/.htaccess:

# 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>

mod_mime was already enabled, but the addhandler directive not allowed in the .htaccess file
because of the directive "AllowOverride Limit" in my VirtualHost configuration; after I changed this to an "AllowOverride All" and reloaded the webserver the backend was OK again.

Perhaps it would be good to write in the requirements that an "AllowOverride All" is necessary?

http://piwik.org/docs/requirements/

@4A4B

This comment has been minimized.

Show comment
Hide comment
@4A4B

4A4B Oct 4, 2016

Important amendment:

"AllowOverride All" is not necessary, "AllowOverride AuthConfig Limit FileInfo" is sufficient and more secure

4A4B commented Oct 4, 2016

Important amendment:

"AllowOverride All" is not necessary, "AllowOverride AuthConfig Limit FileInfo" is sufficient and more secure

@mattab mattab changed the title from Icons missing after update to 2.16.3 to For Apache2 servers, AllowOverride is required for Icons to display -> update documentations Nov 12, 2016

@mattab mattab added this to the 3.0.0 milestone Nov 12, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment