install/web.config
author Dan Fuhry <dan@enanocms.org>
Wed, 29 Dec 2010 13:25:32 -0500
changeset 1332 12286b3ee214
parent 930 648043f3911d
permissions -rw-r--r--
Added some more hooks to the page editing pipeline. It should now be possible to add controls to the page editor, send the data from them out to the server, and process them on the server side.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
930
648043f3911d Added web.config support for IIS7 URL rewriting.
Dan
parents:
diff changeset
     1
<!-- Enano CMS - IIS7 Rewrite support (installer's test scenario) -->
648043f3911d Added web.config support for IIS7 URL rewriting.
Dan
parents:
diff changeset
     2
648043f3911d Added web.config support for IIS7 URL rewriting.
Dan
parents:
diff changeset
     3
<configuration>
648043f3911d Added web.config support for IIS7 URL rewriting.
Dan
parents:
diff changeset
     4
  <configSections>
648043f3911d Added web.config support for IIS7 URL rewriting.
Dan
parents:
diff changeset
     5
    <sectionGroup name="rewriteRules">
648043f3911d Added web.config support for IIS7 URL rewriting.
Dan
parents:
diff changeset
     6
      <section name="rules" overrideModeDefault="Allow" />
648043f3911d Added web.config support for IIS7 URL rewriting.
Dan
parents:
diff changeset
     7
    </sectionGroup>
648043f3911d Added web.config support for IIS7 URL rewriting.
Dan
parents:
diff changeset
     8
  </configSections>
648043f3911d Added web.config support for IIS7 URL rewriting.
Dan
parents:
diff changeset
     9
  <system.webServer>
648043f3911d Added web.config support for IIS7 URL rewriting.
Dan
parents:
diff changeset
    10
    <rewrite>
648043f3911d Added web.config support for IIS7 URL rewriting.
Dan
parents:
diff changeset
    11
      <rules>
648043f3911d Added web.config support for IIS7 URL rewriting.
Dan
parents:
diff changeset
    12
        <rule name="Installation - test requests from installer UI">
648043f3911d Added web.config support for IIS7 URL rewriting.
Dan
parents:
diff changeset
    13
          <match url="(.*)" ignoreCase="false" />
648043f3911d Added web.config support for IIS7 URL rewriting.
Dan
parents:
diff changeset
    14
          <conditions>
648043f3911d Added web.config support for IIS7 URL rewriting.
Dan
parents:
diff changeset
    15
            <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
648043f3911d Added web.config support for IIS7 URL rewriting.
Dan
parents:
diff changeset
    16
            <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
648043f3911d Added web.config support for IIS7 URL rewriting.
Dan
parents:
diff changeset
    17
          </conditions>
648043f3911d Added web.config support for IIS7 URL rewriting.
Dan
parents:
diff changeset
    18
          <action type="Rewrite" url="install.php?do=modrewrite_test&amp;str={R:1}" appendQueryString="false" />
648043f3911d Added web.config support for IIS7 URL rewriting.
Dan
parents:
diff changeset
    19
        </rule>
648043f3911d Added web.config support for IIS7 URL rewriting.
Dan
parents:
diff changeset
    20
      </rules>
648043f3911d Added web.config support for IIS7 URL rewriting.
Dan
parents:
diff changeset
    21
    </rewrite>
648043f3911d Added web.config support for IIS7 URL rewriting.
Dan
parents:
diff changeset
    22
  </system.webServer>
648043f3911d Added web.config support for IIS7 URL rewriting.
Dan
parents:
diff changeset
    23
</configuration>
648043f3911d Added web.config support for IIS7 URL rewriting.
Dan
parents:
diff changeset
    24