Symptoms
-
On opening the domain in a browser, the following error is shown:
HTTP Error 500.52 - URL Rewrite Module Error.
-
The
%plesk_vhosts%example.comhttpdocsweb.config
file does not contain rewrite directives -
In Internet Information Services (IIS) Manager > Servername > Sites > example.com > URL Rewrite rewrite rules are present
Cause
The inconsistency of the web.config
file.
Resolution
- Connect to the server via RDP
- Open Internet Information Services (IIS) Manager > Servername > Sites > example.com > URL rewrite
- Select each rewrite rule and disable them by clicking on Disable Rule
- Enable each rewrite rule back by clicking Enable rule