mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-19 08:51:24 +00:00
Rewrite URL for IE users (#340)
This commit is contained in:
11
web.config
11
web.config
@@ -15,6 +15,15 @@
|
||||
<action type="Rewrite" value="max-age=31536000; includeSubdomains; preload" />
|
||||
</rule>
|
||||
</outboundRules>
|
||||
<rules>
|
||||
<rule name="Rewrite for IE users" stopProcessing="true">
|
||||
<match url=".*" />
|
||||
<conditions>
|
||||
<add input="{HTTP_USER_AGENT}" pattern="Trident" />
|
||||
</conditions>
|
||||
<action type="Rewrite" value="https://{HTTP_HOST}/ie{REQUEST_URI}"/>
|
||||
</rule>
|
||||
</rules>
|
||||
</rewrite>
|
||||
<httpProtocol>
|
||||
<customHeaders>
|
||||
@@ -56,4 +65,4 @@
|
||||
</staticContent>
|
||||
</system.webServer>
|
||||
</location>
|
||||
</configuration>
|
||||
</configuration>
|
||||
|
||||
Reference in New Issue
Block a user