[wp-testers] web.config again (more info)

Peter Westwood peter.westwood at ftwr.co.uk
Sun Jan 2 16:13:00 UTC 2011


On 2 Jan 2011, at 15:31, Philip M. Hofer (Frumph) wrote:

> When the permalinks are changed, and the web.config is recreated (it shouldn't cause there's even custom ones that disappear)
> 
> This is omitted on the update:
> 
> <rule name="wordpress - 1" stopProcessing="true">
> 
> <match url="^(.*/)?files/$"/>
> 
> <action type="Rewrite" url="index.php"/>
> 
> </rule>
> 
> 
> 
> The rule that is the wordpress -2 one 
> 
> 
> 
> <rule name="wordpress - 2" stopProcessing="true">
> 
> <match url="^(.*/)?files/(.*)"/>
> 
> <conditions logicalGrouping="MatchAll">
> 
> <add input="{REQUEST_URI}" pattern=".*wp-content/plugins.*" negate="true"/>
> 
> </conditions>
> 
> <action type="Rewrite" url="wp-includes/ms-files.php?file={R:2}" appendQueryString="false"/>
> 
> </rule>
> 
> 
> 
> 
> 
> ^ that doesn't catch the files directory properly

Please open a trac ticket with the steps to reproduce.

Is this a new bug in 3.1?

Cheers
-- 
Peter Westwood
http://blog.ftwr.co.uk | http://westi.wordpress.com
C53C F8FC 8796 8508 88D6 C950 54F4 5DCD A834 01C5



More information about the wp-testers mailing list