[wp-trac] [WordPress Trac] #13679: The URL rewrite rules generated by WordPress for IIS 7 are malformed and cause server errors
WordPress Trac
wp-trac at lists.automattic.com
Tue Jun 1 17:11:34 UTC 2010
#13679: The URL rewrite rules generated by WordPress for IIS 7 are malformed and
cause server errors
---------------------------+------------------------------------------------
Reporter: ruslany | Owner: westi
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.0
Component: Rewrite Rules | Version: 3.0
Severity: normal | Keywords: regression
---------------------------+------------------------------------------------
When configuring pretty permalinks on IIS 7 and the iis config file
web.config does not exist then WordPress auto-generates the following xml
configuration:
{{{
configuration>
<system.webServer>
<rewrite>
<rules>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="wordpress" patternSyntax="Wildcard">
<match url="*" />
<conditions>
<add
input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add
input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
</conditions>
<action type="Rewrite" url="index.php" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
}}}
This is a malformed XML and when user puts it into the web.config file it
results in IIS generating server error HTTP 500.
Also, the XML indentation is broken.
This seems to be a regression as it worked fine in WordPress 2.9.X.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13679>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list