Site shows: HTTP Error 500.52 – URL Rewrite Module Error
Applicable to:
- Plesk Onyx for Windows
Symptoms
- A website shows the following error:
HTTP Error 500.52 – URL Rewrite Module Error.
The page cannot be displayed because an internal server error has occurred. - Using Failed Requests Tracing utility in Plesk > Domains > example.com gives the following information:
ModuleName RewriteModule
Notification BEGIN_REQUEST
HttpStatus 500
HttpReason URL Rewrite Module Error.
HttpSubStatus 50
ErrorCode Cannot create a file when that file already exists.
(0x800700b7)
Cause
Unclear.
Resolution
Reinstall URL Rewrite Module:
- Connect to the server via RDP.
- Open Command Prompt.
- Type the command below and press the Enter button:
appwiz.cpl
- Find IIS URL Rewrite Module 2 in the programs list and click the Uninstall button.
- Go to the
C:\ParallelsInstaller\parallels\
folder. - Double click on the folder which name is starting from the
PANEL-WIN
(the further symbols depends on the product version): - Open the
thirdparty-msi-Windows-any-x86_64
folder and double-click on the file starting from therewrite_7.2
(the further symbols depends on the product version): - Follow the Setup Wizard instructions to complete the installation of the URL Rewrite Module.