Is it possible to manipulate a request before IIS assigns that request to a specific site?
Posted
by Deane
on Stack Overflow
See other posts from Stack Overflow
or by Deane
Published on 2010-03-23T19:13:56Z
Indexed on
2010/03/23
19:33 UTC
Read the original article
Hit count: 373
request-pipeline
|iis
Is it possible to manipulate an inbound request at the IIS level, before it even gets assigned to site on the server?
Essentially, I want to rewrite this --
www.somegenericdomain.com?site=someotherdomain
To this --
www.someotherdomain.com
And I need to do this before IIS picks which site the request belongs to, so I need to change the host header prior to this point.
Possible, or crazy? We're running IIS7.
© Stack Overflow or respective owner