This repository has been archived by the owner on Feb 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathWeb.config
33 lines (28 loc) · 1.96 KB
/
Web.config
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
26
27
28
29
30
31
32
33
<?xml version="1.0" encoding="UTF-8"?>
<!--
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=169433
-->
<configuration>
<system.webServer>
<httpRedirect enabled="true" httpResponseStatus="Found" exactDestination="true" childOnly="true">
<add wildcard="/*.zip" destination="https://az818661.vo.msecnd.net/providers/$0.zip" />
<add wildcard="/*.exe" destination="https://az818661.vo.msecnd.net/providers/$0.exe" />
<add wildcard="/*.dll" destination="https://az818661.vo.msecnd.net/providers/$0.dll" />
<add wildcard="/*.json" destination="https://az818661.vo.msecnd.net/psl/$0.json" />
<add wildcard="/*.cat" destination="https://az818661.vo.msecnd.net/psl/$0.cat" />
<add wildcard="/*.swidtag" destination="https://az818661.vo.msecnd.net/providers/$0.swidtag" />
<add wildcard="/issues" destination="https://github.com/oneget/oneget/issues" />
<add wildcard="/issues/*" destination="https://github.com/oneget/oneget/issues/$0" />
<add wildcard="/meeting.html" destination="https://oneget.org/monthly/meeting.html" />
<add wildcard="*" destination="https://github.com/oneget/oneget" />
</httpRedirect>
<httpErrors errorMode="Custom">
<remove statusCode="403" subStatusCode="-1" />
<remove statusCode="404" subStatusCode="-1" />
<error statusCode="404" prefixLanguageFilePath="" path="https://github.com/oneget/oneget" responseMode="Redirect" />
<error statusCode="403" prefixLanguageFilePath="" path="https://github.com/oneget/oneget" responseMode="Redirect" />
</httpErrors>
<!-- <httpRedirect enabled="true" destination="https://github.com/oneget/oneget" exactDestination="false" childOnly="true" httpResponseStatus="Found" /> -->
</system.webServer>
</configuration>