Viewing 1 replies (of 1 total)
  • Thread Starter [email protected]

    (@olicccitcouk)

    Hi,

    Can anyone help on this, I’m sure there is something I have done totally wrong in the setup, as I’m not even 100% sure if I should have a .htaccess? or is this only for Apache servers?

    My web.config file is in root /news and looks like this

    <?xml version="1.0"?>
    
    <configuration>
    
      <system.webServer>
    
        <rewrite>
    
          <rules>
    
            <rule name="Main Rule" 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/{R:0}" />
    
            </rule>
    
          </rules>
    
        </rewrite>
    
      </system.webServer>
    
    </configuration>

    Let me know if you want more information. Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘404 error after enabling "pretty permalinks" with out mod_rewrite IIS 7’ is closed to new replies.