New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On Apache server: Internal Server Error due to .htaccess #11040
Comments
Hi! But after that, there are still more problems. Problem User Country Plugin And: If I want to open the page "Administration > System > Geolocation" I get an 500 Error (Internal Server Error). If I try to open the site "Administartion > Systemcheck", I also get a 500 Error Message. |
Same problem here. Deleting the line helps, but I fear that I would have to do it for every update. Directory indexes are switched off by default anyway by my provider. This problem certainly depends on the web server configuration, but my influence on the provider about the config is limited (HostEurope WebPack 4 here). |
Hello @johsin18 @Chriz1083 @towerlexa I'd like to help solve the Could you please try the following:
-> Do you get the error back, or is Piwik working the same as when you removed this line originally? |
@mattab , i 've tried it at my server, but unfortunately it doesn't work! **/piwik/libs/.htaccess
=> Your hint with "Option" is wrong. The parameter should be "Options" I will try to investigate too... but i'am not really sure if i'am able to help |
If you find the solution of how we could safely call |
@mattab , thank you very much for your answer.
Maybe it is worth to give a hint in the update guide to check, that AllowOverride [...] Options is allowed, so that you could set this within the .htaccess Files. Additiona i would like to wish, that a general vhost setting and securing guide will be written. I think most of the people do her own settings there. Depending on every person or admin, of course, the settings will be different. Maybe this could added to the Piwik securing guide: http://piwik.org/docs/how-to-secure-piwik/ For my second issue (please see above ---- /piwik/libs/.htaccess: AddHandler not allowed here --- ) i will investigate too. kind regards, |
@mattab , now a little bit more belonging the issue with "AddHandler not allowed here"
If i have a look at the following documentation: http://httpd.apache.org/docs/2.2/mod/mod_mime.html#addhandler I have to add the FileInfo setting to my vhost-configuration!
In my opinion, if all users who had this problem, add the following "Options" and "FileInfo" to the vhost configuration, the should solve the issue also for the future!
By the way, why it is absolutely necessary to have the following AddHandler statements in the "/piwik/libs/.htaccess" file???
Are you really sure, that you need it? Kind regards, |
additional, i saw in this moment, that i've already added the AddHandler statement to my vhost configuration:
But i'am not sure, for which reason, i've already configured this! Maybe because of the recommendations from the Securing Piwik settings?? Regards, |
So guarding it with
does not help. I think the problem is that Options is just not included in my provider's AllowOverride configuration. I have only very limited access to the Apache configuration, I cannot change the AllowOverride configuration for Apache. So I would prefer that Piwik only shows a warning instead of trying to disable indexes by itself. Otherwise I cannot run an unpatched Piwik on my webspace anymore. So thanks for removing the line, I don't see another option in my case, at least. |
Afterr upgrading to Piwik 3.0.0 i had the following issues:
I have a Debian Wheezy and a Apache
As figured out from another one (https://forum.piwik.org/t/internal-server-error-after-upgrade-to-3-0/22163) The Issue is gone, while i comment out the Options Line.
/piwik/plugins/.htaccess:
The AddHandler Issue i couldn't solve at this point!
/piwik/libs/.htaccess:
Thank you all very much for your great job with piwik!
Kind regards,
Axel
The text was updated successfully, but these errors were encountered: