Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (35 sloc) 1.53 KB
<?xml version="1.0" encoding="UTF-8"?>
This file provides out-of-the-box support for Microsoft IIS 7 or higher.
If you are using another webserver you can safely remove it. Do note that
the Rewrite Module ( is not (always)
installed by default, but required for the proper working of the rules
defined in the <rewrite> section of <system.webServer>.
<clear />
<rule name="Set Webroot">
<match url="(.*)" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
<action type="Rewrite" url="app/webroot/{R:1}" />
<rule name="Lithium Redirect">
<match url="app/webroot/(.*)" />
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
<add input="{REQUEST_FILENAME}" pattern="favicon.ico$" negate="true" />
<action type="Rewrite" url="app/webroot/index.php?url={R:1}" />
<rewriteMap name="Rewrite To Webroot from Root" />