Skip to content
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

Installation on IIS fails with http status 405 error #786

Closed
anonymous-matomo-user opened this issue Jun 11, 2009 · 12 comments
Closed

Installation on IIS fails with http status 405 error #786

anonymous-matomo-user opened this issue Jun 11, 2009 · 12 comments
Assignees
Labels
Bug For errors / faults / flaws / inconsistencies etc. Critical Indicates the severity of an issue is very critical and the issue has a very high priority.
Milestone

Comments

@anonymous-matomo-user
Copy link

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
Copy link
Contributor

Please check your IIS configuration:

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

@anonymous-matomo-user
Copy link
Author

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
Copy link
Contributor

Sorry, I wasn't suggesting that.

@robocoder
Copy link
Contributor

Arw you using IIS 6+?

@anonymous-matomo-user
Copy link
Author

WinXP IIS 5.1

@anonymous-matomo-user
Copy link
Author

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
Copy link
Contributor

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

@anonymous-matomo-user
Copy link
Author

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

@robocoder
Copy link
Contributor

(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
Copy link
Contributor

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

@robocoder
Copy link
Contributor

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

@robocoder
Copy link
Contributor

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

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. Critical Indicates the severity of an issue is very critical and the issue has a very high priority.
Projects
None yet
Development

No branches or pull requests

2 participants