Created
July 28, 2017 15:34
-
-
Save stdavis/bee1bd233f87bbbf18a4a32185724f7c to your computer and use it in GitHub Desktop.
PrintProxy for Discover Quad Words via IIS URL Rewrite
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <configuration> | |
| <system.webServer> | |
| <rewrite> | |
| <rules> | |
| <rule name="PrintProxy" stopProcessing="true"> | |
| <match url=".*Export Web Map Task\/execute" /> | |
| <action type="Redirect" url="{R:0}?{C:1}your-open-quad-word{C:2}" appendQueryString="false" redirectType="Found" /> | |
| <conditions trackAllCaptures="true"> | |
| <add input="{QUERY_STRING}" pattern="(.*discover\.agrc\.utah\.gov%2Flogin%2Fpath%2F)(?!your-open-quad-word).*?(%2Ftiles.*)" /> | |
| </conditions> | |
| </rule> | |
| </rules> | |
| </rewrite> | |
| </system.webServer> | |
| </configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment