WordPress.org

Forums

module rewrite error (2 posts)

  1. sporty
    Member
    Posted 5 years ago #

    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.

  2. sporty
    Member
    Posted 5 years ago #

    (ps the link is from the homepage http://doc.onesportevent.com

Topic Closed

This topic has been closed to new replies.

About this Topic