Support » How-To and Troubleshooting » Uploading media IIS7 problem!

Uploading media IIS7 problem!

  • Hi all!
    My environment:
    Windows Server 2008
    IIS 7 with Rewrite module 2.0 beta
    Wordpress MU 2.8.4

    Well, I’m having a rewriting problem I guess… The thing is that I can upload things to the server, but then, I can’t access that media.
    My browser is looking for the uploaded files in:
    If I copy that URL and paste it in the browser, I get a 404 not found error because the server is looking for the file in a wrong place.
    I have a rewrite rule in my IIS but it is not working or it’s working in an unexpected manner.
    The rule is the following:

    <rule name="wordpress - 2" stopProcessing="true">
                        <match url="^(.*/)?files/(.*)" />
                            <add input="{REQUEST_URI}" pattern=".*wp-content/plugins.*" negate="true" />
                        <action type="Rewrite" url="wp-content/blogs.php?file={R:2}" appendQueryString="false" />

    Everything else is working just fine, permalinks, posts, new blogs, etc. But I can’t work with uploaded media…
    Any ideas?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Uploading media IIS7 problem!’ is closed to new replies.