Error 500.19 with IIS / rewrite in web.config

500-19If you’ve added a rewrite to you web.config but are now receiving a HTTP Error 500.19 Internal Server Error, chances are you need to install the URL Rewrite Module. You might have assumed this is part of your install but it might be missing.

The install only takes a few seconds.

 

  1. Visit http://www.iis.net/downloads/microsoft/url-rewrite
  2. At the bottom of the page you can download the installer without using Web Platform.
  3. Run the MSI installer to add the URL Rewrite Module to your server. In my experience, I have not needed to reboot or reset IIS after installing this.
  4. Now you should successfully be able to use <rewrite>.

rewrite-mod

Error 500.19 with IIS / rewrite in web.config

3 thoughts on “Error 500.19 with IIS / rewrite in web.config

  1. This solved one of my problems. Now I am getting the same error code but a different config error.
    “Cannot add duplicate collection entry of type ‘add’ with unique key attribute ‘value’ set to ‘index.php'”
    Which I don’t understand because there is no duplicate entry in there.

    Like

Leave a comment