WordPress.org

Support

Support » How-To and Troubleshooting » module rewrite error

module rewrite error

  • I have uploaded a file with a post (uploaded ok and is on server in that folder) but when I try to retreive it i see a “5000 URL Rewrite Module Error” in firebug.

    the file is:
    http://doc.onesportevent.com/wp-content/uploads/2010/03/onesporteventdrupal1141.zip

    I tried a couple of different web.config rewrites, including the default one. My understanding is if the file exists on the server it should just serve it without redirecting to index.php; but can’t figure out whats wrong here. I have a test site if anyone is inclined to look at the admin console PM me, but this shouldn’t be to hard right?!

    here is one config i tried:

    <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
      <system.webServer>
        <rewrite>
          <rules>
            <rule name="wordpress" stopProcessing="true">
              <match url=".*"/>
              <conditions logicalGrouping="MatchAll">
                <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>

    and the other:

    <?xml version="1.0" encoding="UTF-8"?>
    <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>

    regards
    ewart.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘module rewrite error’ is closed to new replies.
Skip to toolbar