maven test

Xml code posted by m
created at 04 Oct 16:37, updated at 18 Oct 21:22

Edit | Back
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<configSections>
   <sectionGroup name="applicationSettings">
      ...
      <section name="rewriter" type="Intelligencia.UrlRewriter.Configuration.RewriterConfigurationSectionHandler, Intelligencia.UrlRewriter" requirePermission="false" />
      ...
   </sectionGroup>
</configSections>

...

<system.webServer>
   ...
   <rewrite>
      <rules>
         <clear />
         <rule name="HTTP to HTTPS redirect" stopProcessing="true">
            <match url="(.*)" />
            <conditions logicalGrouping="MatchAll" trackAllCaptures="false">
               <add input="{HTTPS}" pattern="off" ignoreCase="true" />
            </conditions>
            <action type="Redirect" url="https://{HTTP_HOST}/{R:1}" redirectType="Found" />
         </rule>
       </rules>
   </rewrite>
</system.webServer>
824 Bytes in 2 ms with coderay