Admin Assets on IIS gives a 404
Everything works fine on my installation apart from when I go to
http://www.mysite.com/test/fuel/assets it gives me a 404.
This works fine on my local apache server but IIS gives this error.
My web.config has this in it
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<clear />
<rule name="codeigniterRuleOne" stopProcessing="true">
<match url="index.php|robots.txt|images|assets" />
<conditions logicalGrouping="MatchAll" />
</rule>
<rule name="codeigniterRuleTwo">
<match url=".*" />
<conditions logicalGrouping="MatchAll" />
<action type="Rewrite" url="index.php/{r:0}" appendQueryString="false" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
All assets get served up fine on the public facing site.
Any help would be great.
Thanks
Comments
http://www.mysite.com/index.php/test/fuel/assets
I found this thread that may be helpful:
http://ellislab.com/forums/viewthread/91954
I'll have a read through the link and hopefully it will help.
Thanks
<match url="index.php|robots.txt|images|css|javascript|js" />
Removing the catch all of assets and adding in the directories below allows the css, javascript assets to still be served and the admin assets page to be accessed.