Skip to content

Commit 9650925

Browse files
committed
1.0.11b
1 parent f3c926f commit 9650925

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

Web/Web.config

+10-3
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
</system.net>
3939
<system.web>
4040
<authentication mode="None" />
41-
<compilation debug="true" targetFramework="4.6.1" />
41+
<compilation targetFramework="4.6.1" />
4242
<httpRuntime targetFramework="4.6.1" />
4343
</system.web>
4444
<system.webServer>
@@ -60,12 +60,19 @@
6060
<rewrite>
6161
<rules>
6262
<clear />
63-
<rule name="Redirect to https" stopProcessing="true" enabled="false">
63+
<rule name="www" stopProcessing="true">
6464
<match url="(.*)" />
65+
<conditions>
66+
<add input="{HTTP_HOST}" pattern="^forcrowd.org$" />
67+
</conditions>
68+
<action type="Redirect" url="https://www.forcrowd.org/{R:0}" redirectType="Permanent" />
69+
</rule>
70+
<rule name="https" stopProcessing="true">
71+
<match url=".*" />
6572
<conditions>
6673
<add input="{HTTPS}" pattern="off" ignoreCase="true" />
6774
</conditions>
68-
<action type="Redirect" url="https://{HTTP_HOST}{REQUEST_URI}" redirectType="Temporary" appendQueryString="false" />
75+
<action type="Redirect" url="https://{HTTP_HOST}{REQUEST_URI}" redirectType="Permanent" appendQueryString="false" />
6976
</rule>
7077
</rules>
7178
</rewrite>

0 commit comments

Comments
 (0)