We are running Drupal 9 happily under IIS and Windows Datacenter 2019 under Azure. Microsoft have released Windows Datacenter 2022 so I thought I should try to migrate to that platform. It opens find, but none of the links work, for example https://site/login gives a Page not found error. I have URL Rewrite installed and the same rules as in other environments; one is supposed to rewrite ^(.*)$ to index.php with the Append query string set.

I suspect that URL Rewrite isn't playing ball, but I can't be sure. Has anyone else any experience?

1 Answer 1


After lots of hunting around, and testing with another index.php file, I determined that Drupal was a red herring. the URL Rewrite module was not working. Uninstalling, rebooting the server and reinstalling it cured the problem.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.