﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
10386,The rewrite rules generated for IIS URL Rewrite Module causes user confusion,ruslany,westi,"This is related to #8974. If the IIS web.config file does not exist, the rewrite rules XML that is given at the ""Permalinks Settings"" page contains only the rewrite rule, but not all the parent XML configuration tags required by IIS. Very often users just take this XML and paste it into an empty web.config file and this causes the IIS configuration runtime error (HTTP 500 returned).

The logic should be to check if the web.config file does not exist and if the root directory is not writable then provide the complete web.config file content, which users can just copy and paste into the empty web.config file. See attached screenshot for how it is supposed to look like.",enhancement,closed,high,2.9,Rewrite Rules,2.8.1,normal,fixed,has-patch,ruslany@…
