Welcome Guest, Not a member yet? Register   Sign In
CSS path after IIS url rewrite
#10

[eluser]vertmonkee[/eluser]
Right, I've got it sorted.

The rules were in the correct order I needed to tell it to stop processing rules after it matched the first one. I did this in the IIS GUI, it's just a checkbox.

And this is the resultant config file

<?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|test.php|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>

Thanks to noctrum for his very good suggestions which helped me whittle down the options to find the solution.


Messages In This Thread
CSS path after IIS url rewrite - by El Forum - 04-15-2010, 11:31 AM
CSS path after IIS url rewrite - by El Forum - 04-15-2010, 11:39 AM
CSS path after IIS url rewrite - by El Forum - 04-15-2010, 12:05 PM
CSS path after IIS url rewrite - by El Forum - 04-15-2010, 12:08 PM
CSS path after IIS url rewrite - by El Forum - 04-15-2010, 12:09 PM
CSS path after IIS url rewrite - by El Forum - 04-15-2010, 12:58 PM
CSS path after IIS url rewrite - by El Forum - 04-15-2010, 01:14 PM
CSS path after IIS url rewrite - by El Forum - 04-15-2010, 01:52 PM
CSS path after IIS url rewrite - by El Forum - 04-15-2010, 02:09 PM
CSS path after IIS url rewrite - by El Forum - 04-15-2010, 02:25 PM



Theme © iAndrew 2016 - Forum software by © MyBB