[wp-trac] [WordPress Trac] #17708: iis web.config rule 5 not working

WordPress Trac wp-trac at lists.automattic.com
Mon Jun 6 15:56:26 UTC 2011


#17708: iis web.config rule 5 not working
--------------------------+-----------------------------
 Reporter:  eduplessis    |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  IIS           |    Version:  3.1
 Severity:  normal        |   Keywords:  needs-patch
--------------------------+-----------------------------
 Rule 5 not working

 {{{
 <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>
 }}}

 have to change 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:1}" />
 </rule>
 }}}


 And we need to remove the 2 tab in the begining of the file.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17708>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list