Skip to content

Instantly share code, notes, and snippets.

@ChrisFulstow
Created October 22, 2015 21:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ChrisFulstow/108bbf11cd08acb2bdef to your computer and use it in GitHub Desktop.
Save ChrisFulstow/108bbf11cd08acb2bdef to your computer and use it in GitHub Desktop.
IIS Rewrite Custom Header
<outboundRules>
<rule name="Add custom header">
<match serverVariable="RESPONSE_X_Custom_Header" pattern="^$" />
<action type="Rewrite" value="MyValue" replace="true" />
</rule>
</outboundRules>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment