I am having a problem where all urls not generated by expression engine are directing to index.php
I suspect that this has to do with the rewrite rules, but exceptions have been set up. Following is my web.config
I am trying to get to root/docs/somefile.pdf and I know that the file structure is correct. Would anyone with more experiance with rewrite mind taking a look at my exceptions and rewrite?
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Imported Rule 1" stopProcessing="true">
<match url="^(.*)$" ignoreCase="false" >
<conditions logicalGrouping="MatchAll">
<add input="{R:1}" matchType="Pattern" pattern="^(css|js|ico|swf|assets|images|doc|xlsx|pdf|system|tools|themes|index\\\\.php|admin\\\\.php)" ignoreCase="true" negate="true" >
</conditions>
<action type="Rewrite" url="/index.php/{R:1}" >
</rule>
</rules>
</rewrite>
<staticContent>
<remove fileExtensi >
<mimeMap fileExtensi mimeType="application/javascript" >
</staticContent>
</system.webServer>
</configuration>