Posted By

myke on 09/23/10


Tagged


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

mecha
grablermassive


Codeigniter IIS7 Web.config


 / Published in: Other
 

This will allow pretty url for codeigniter running under IIS7

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <configuration>
  3. <system.webServer>
  4. <rewrite>
  5. <rules>
  6. <rule name="Index">
  7. <match url="^(.*)$" />
  8. <conditions>
  9. <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
  10. <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
  11. </conditions>
  12. <action type="Rewrite" url="index.php/{R:1}" />
  13. </rule>
  14. </rules>
  15. </rewrite>
  16. </system.webServer>
  17. </configuration>

Report this snippet  

You need to login to post a comment.