Created
August 27, 2015 23:44
-
-
Save greggnakamura/6ead4e8173ce0af27235 to your computer and use it in GitHub Desktop.
URL Rewrite: Add HTTP_Host to allow redirects to work on localhost
This file contains hidden or 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="Rewrite rule2 for Redirects" stopProcessing="true"> | |
<match url="GFB" /> | |
<!-- localhost --> | |
<conditions> | |
<add input="{HTTPS}" pattern="off" ignoreCase="true" /> | |
<add input="{HTTP_HOST}" pattern="localhost" negate="true" /> | |
</conditions> | |
<!-- localhost --> | |
<action type="Redirect" url="georgia/plan-selection" appendQueryString="false" /> | |
</rule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment