Quantcast
Channel: URL Rewrite Module
Viewing all articles
Browse latest Browse all 2482

InBound Rule for URL Rewrite removes all Response Headers

$
0
0

I am working on a rule that we can add that will rewrite / redirect to a maintenance page when we are doing maintenance and need the app pool off.

I am using Regular Expressions to match to all applications that have the work test and an action type of rewrite to my manitenance page with the option to append query string on.

I have no Conditions or Server Variables in my rule. All of the sites and posts I have been able to find only seem to show how to change the response headers and not just pass them through.

The Problem is that when it does the rewrite to my maintenance page all of the response header get deleted / removed, but my rewrite/ redirection are working correctly, How do I keep Response Headers?

I have the inbound rule setup at the top level and not at the default level.

 

Thanks,

Kevin

 


Viewing all articles
Browse latest Browse all 2482

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>