matomo-org / matomo

Empowering People Ethically with the leading open source alternative to Google Analytics that gives you full control over your data. Matomo lets you easily collect data from websites & apps and visualise this data and extract insights. Privacy is built-in. Liberating Web Analytics. Star us on Github? +1. And we love Pull Requests!
https://matomo.org/
GNU General Public License v3.0
19.87k stars 2.65k forks source link

Installation on IIS fails with http status 405 error #786

Closed anonymous-matomo-user closed 14 years ago

anonymous-matomo-user commented 15 years ago

After entering the database credentials and pressing the "Go" button I receive a 405 error from IIS. I have tried without an existing DB and with an existing DB on MySQL.

Installation is not possible at all.

robocoder commented 15 years ago

Please check your IIS configuration:

anonymous-matomo-user commented 15 years ago

First of all - I'm not stupid... this server is configured correctly.

My box works well with all other apps for e.g. Drupal 5, Drupal 6, Drupal 7, Joomla, Kimai, Piwik (after it has been installed)

robocoder commented 15 years ago

Sorry, I wasn't suggesting that.

robocoder commented 15 years ago

Arw you using IIS 6+?

anonymous-matomo-user commented 15 years ago

WinXP IIS 5.1

anonymous-matomo-user commented 15 years ago

PHP 5.2.6 (cli) (built: May 2 2008 18:02:07) Copyright (c) 1997-2008 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies

robocoder commented 15 years ago

Ok. This is a confirmed bug, fixed in IIS 6. I'll commit a fix shortly.

anonymous-matomo-user commented 15 years ago

THX, this should also work with IIS 5.1 automatically...

robocoder commented 15 years ago

(In [1210]) Fixes #786; versions of IIS before IIS6 fail with method POST and URI without a script name (i.e., index.php); for consistency, always include the script name in links (GET, POST, and Location: redirects)

http://support.microsoft.com/kb/216493

robocoder commented 15 years ago

(In [1212]) refs #786 - add script name explicitly for consistency

robocoder commented 15 years ago

(In [1213]) refs #786 - move 'index.php' from smarty plugin to template

robocoder commented 15 years ago

(In [1219]) refs #786 - add script name explicitly for consistency