Plesk

Plesk hosted website shows Error 500: Module “PleskUrlProtectionModule” could not be found

Symptoms

One or multiple websites in Plesk are not accesible with one of the following errors:

HTTP Error 500.0 - external Server Error Module "PleskUrlProtectionModule" could not be found


HTTP Error 500.0 - external Server Error Module "RewriteModule" could not be found

Cause

One of the necessary modules is not declared in the IIS Server configuration.

Resolution

  1. Connect to the server via RDP.

  2. Make a back up of the C:WindowsSystem32inetsrvconfigapplicationHost.config file.

  3. Open the original file for editing and add the following line to the <globalModules> section:

    • For PleskUrlProtectionModule:

      <add name="PleskUrlProtectionModule" image="%windir%System32inetsrvpleskurlprotection.dll" />


    • For RewriteModule:

      <add name="RewriteModule" image="%SystemRoot%system32inetsrvrewrite.dll" />

  4. Save changes and close the file.

  5. Start the Command Prompt as Administrator.

  6. Apply the new configuration by restarting the IIS service with the command below:

    Note: It will cause temporary inaccessibility of all other websites hosted on the server until the service is fully restarted

    iisreset

Exit mobile version