I installed the SilverStripe 3.2.1 on windows 10 & IIS 10, Requirements display:
Webserver Configuration All Requirements Pass but 1 Warning,
URL rewriting support, I can not tell whether any rewriting module is running. You may need to configure a rewriting rule yourself.
View the source code and found:
/**
* Check if the web server is IIS and version greater than the given version.
* @return boolean
*/
public function isIIS($fromVersion = 7) {
if(strpos($this->findWebserver(), 'IIS/') === false) {
return false;
}
return substr(strstr($this->findWebserver(), '/'), -3, 1) >= $fromVersion;
}
$webserver = $_SERVER['SERVER_SOFTWARE']; // Microsoft-IIS/10.0
If IIS version is 10.0, then is four characters, here seems to be a Bug.
Why not
return substr(strstr($this->findWebserver(), '/'), 1) >= $fromVersion;