Symptoms
One or multiple websites are not available with one of the following errors:
HTTP Error 500.0 - Internal Server Error Module "PleskUrlProtectionModule" could not be found
HTTP Error 500.0 - Internal Server Error Module "RewriteModule" could not be found
Cause
One of the necessary modules is not declared in the IIS Server configuration.
Resolution
-
Connect to the server via RDP
-
Make a back up of the
C:WindowsSystem32inetsrvconfigapplicationHost.config
file -
Open the original file for editing
-
Add the following line to
<globalModules>
:-
For
PleskUrlProtectionModule
:<add name="PleskUrlProtectionModule" image="%windir%System32inetsrvpleskurlprotection.dll" />
-
For
RewriteModule
:<add name="RewriteModule" image="%SystemRoot%system32inetsrvrewrite.dll" />
-
-
Apply the new configuration by restarting IIS service:
C:> iisreset
Warning: It will cause temporary inaccessibility of all other websites hosted on the server.