﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
19084	IIS Express multisite rewrite issue.	volcanicpixels		"Hi,

I am using the IIS Express which is bundled with WebMatrix 2 beta and have attempted to setup a multisite installation. It would appear that the rewrite rules are not correctly being parsed.


{{{
<rule name=""WordPress Rule 5"" stopProcessing=""true"">
                    <match url=""^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*)"" ignoreCase=""false"" />
                    <action type=""Rewrite"" url=""{R:2}"" />
                </rule>
}}}

Looks correct, however, unlike one would expect: rather than rewrite http://domain/blahblah/wp-admin/ to http://domain/wp-admin/ it actually rewrites it to http://domain/admin. I appreciate that this is a bug with IIS Express and not WordPress but by changing the rewrite rule to:

{{{
<rule name=""WordPress Rule 5"" stopProcessing=""true"">
                    <match url=""^[_0-9a-zA-Z-]+/((wp-content|wp-admin|wp-includes).*)"" ignoreCase=""false"" />
                    <action type=""Rewrite"" url=""{R:2}"" />
                </rule>
}}}
it would work with IIS Express.
"	defect (bug)	closed	normal		General		normal	duplicate		
