Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#786 closed Bug (fixed)

Installation on IIS fails with http status 405 error

Reported by: hass Owned by: vipsoft
Priority: critical Milestone: Piwik 0.4.1
Component: Core Keywords:
Cc: Sensitive: no

Description

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.

Change History (13)

comment:1 Changed 5 years ago by vipsoft (robocoder)

Please check your IIS configuration:

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

comment:2 Changed 5 years ago by hass

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)

comment:3 Changed 5 years ago by vipsoft (robocoder)

Sorry, I wasn't suggesting that.


comment:4 Changed 5 years ago by vipsoft (robocoder)

Arw you using IIS 6+?

comment:5 Changed 5 years ago by hass

WinXP IIS 5.1

comment:6 Changed 5 years ago by hass

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

comment:7 Changed 5 years ago by vipsoft (robocoder)

  • Owner set to vipsoft
  • Status changed from new to assigned

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

comment:8 Changed 5 years ago by hass

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

comment:9 Changed 5 years ago by vipsoft (robocoder)

  • Resolution set to fixed
  • Status changed from assigned to closed

(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

comment:10 Changed 5 years ago by vipsoft (robocoder)

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

comment:11 Changed 5 years ago by vipsoft (robocoder)

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

comment:12 Changed 5 years ago by vipsoft (robocoder)

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

comment:13 Changed 4 years ago by vipsoft (robocoder)

  • Keywords IIS install removed
  • Sensitive unset
Note: See TracTickets for help on using tickets.