Plesk for Windows
kb: technical
Applicable to:
- Plesk for Windows
Symptoms
- Plesk or a website is not accessible with a 500 Internal Server Error.
-
With detailed error reporting enabled, one of the following error messages is showsn:
PLESK_INFO: HTTP Error 500.0 - Internal Server Error Module "PleskUrlProtectionModule" could not be found
PLESK_INFO: HTTP Error 500.0 - Internal Server Error Module "RewriteModule" could not be found
Cause
The IIS module, mentioned in the error message, is not declared in IIS configuration.
Resolution
- Connect to your Plesk server via RDP.
- Open
C:\Windows\System32\inetsrv\config\in Windows Explorer. - For safety reasons, create a copy of the file
applicationHost.config. - Open the original
applicationHost.configfile in a text editor and add the following line in the<globalModules>section:-
for
PleskUrlProtectionModule:CONFIG_TEXT: <add name="PleskUrlProtectionModule" image="%windir%\System32\inetsrv\pleskurlprotection.dll" />
-
for
RewriteModule:CONFIG_TEXT: <add name="RewriteModule" image="%SystemRoot%\system32\inetsrv\rewrite.dll" />
-
- Save the changes and close the file.
- Start a command prompt as an Administrator.
-
Restart the IIS service to apply the changes:
Note: Websites will be unavailable during the IIS service restart.
C:\> iisreset
Comments
Please sign in to leave a comment.