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

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

@robocoder
Collaborator

Sorry, I wasn't suggesting that.

@robocoder
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

@robocoder
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...

@robocoder
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

@robocoder
Collaborator

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

@robocoder
Collaborator

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

@robocoder
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.