install/web.config
author Dan Fuhry <dan@enanocms.org>
Mon, 19 Nov 2012 11:38:34 -0500
changeset 1371 d9814c4c2948
parent 930 648043f3911d
permissions -rw-r--r--
Add Output class for Comet (HTTP incremental streams) -- experimental and not working with every browser/apache configuration.

<!-- Enano CMS - IIS7 Rewrite support (installer's test scenario) -->

<configuration>
  <configSections>
    <sectionGroup name="rewriteRules">
      <section name="rules" overrideModeDefault="Allow" />
    </sectionGroup>
  </configSections>
  <system.webServer>
    <rewrite>
      <rules>
        <rule name="Installation - test requests from installer UI">
          <match url="(.*)" ignoreCase="false" />
          <conditions>
            <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
            <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
          </conditions>
          <action type="Rewrite" url="install.php?do=modrewrite_test&amp;str={R:1}" appendQueryString="false" />
        </rule>
      </rules>
    </rewrite>
  </system.webServer>
</configuration>