Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Installation on IIS fails with http status 405 error #786

Closed
anonymous-piwik-user opened this Issue · 12 comments

2 participants

Anonymous Piwik user Anthon Pang
Anonymous Piwik user

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.

Anthon Pang
Collaborator

Please check your IIS configuration:

  • allow POST for php
  • allow index.php as a (default) index page
Anonymous Piwik user

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)

Anthon Pang
Collaborator

Sorry, I wasn't suggesting that.

Anthon Pang
Collaborator

Arw you using IIS 6+?

Anonymous Piwik user

WinXP IIS 5.1

Anonymous Piwik user

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

Anthon Pang
Collaborator

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

Anonymous Piwik user

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

Anthon Pang
Collaborator

(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

Anthon Pang
Collaborator

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

Anthon Pang
Collaborator

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

Anthon Pang
Collaborator

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

Anonymous Piwik user anonymous-piwik-user added this to the Piwik 0.4.1 milestone
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.