Created
August 24, 2014 06:13
-
-
Save rchacon/0cbaaf11bfcf9a3c677e to your computer and use it in GitHub Desktop.
IIS Rewrite Rule to redirect /route-name.aspx to /route-name
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<rule name="redirect-aspx" enabled="true" stopProcessing="true"> | |
<match url="(.*).aspx$" ignoreCase="false" /> | |
<conditions logicalGrouping="MatchAll" trackAllCaptures="false"> | |
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> | |
</conditions> | |
<action type="Redirect" url="http://library.morrisville.edu/{R:1}" appendQueryString="true" /> | |
</rule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment