I followed the instructions on this page http://codeigniter.com/wiki/Miscellaneous/ and everything works fine for removing index.php from urls.
This has now caused my CSS file to not be found. The file is in a folder structure like this from the root
assets/css/stylesheet.css
I’ve tried the following
http://mysite.com/assets/css/stylesheet.css
/assets/css/stylesheet.css
assets/css/stylesheet.css
But none of those options work.
My web config file looks like this
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="codeigniterRuleOne">
<match url="(index.php|robots.txt|images|test.php)" />
</rule>
<rule name="codeigniterRuleTwo">
<match url=".*" />
<action type="Rewrite" url="index.php/{r:0}" appendQueryString="false" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
Can anyone suggest how to fix this? Thanks for any help
