Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 28058

URL Rewrite can not read server variables

$
0
0

Hello,

 

I've been struggling with a problem with URL rewriting in IIS 7, where I try to catch a request, form a new server variable (http header) and redirect the request to another server (using ARR). My scenario is as follows:

 I have a server variable rule

name

HTTP_USERNAME

value

{HTTP_SOMEATTRIBUTE}@{HTTP_OTHERATTRIBUTE}

 

the request is then forwarded to localhost:8080 (Tomcat).

 

Everything works fine, but the USERNAME http header value is just "@" when it reaches the target application in Tomcat. The http headers which are used to form USERNAME come from a Shibboleth installation. I have verified with a test page that the headers are there and have correct values, but somehow they don't seem to transfer over by the rewrite rule.

 

What should I check, any ideas? This is happening in production environment, and I successfully did it in testing environment beforehand.


Viewing all articles
Browse latest Browse all 28058

Trending Articles



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