My site https://example.com should execute a given URL rewrite rule (and thus act as a reverse proxy to internalServer1) for user1, and a different rewrite rule for user2 sending him to internalServer2.
Is this scenario possible with IIS8?
My site https://example.com should execute a given URL rewrite rule (and thus act as a reverse proxy to internalServer1) for user1, and a different rewrite rule for user2 sending him to internalServer2.
Is this scenario possible with IIS8?
No with URL rewrite as URL rewriter runs before any authentication happens in IIS, so these server variables are not set and hence cannot be used in rewrite rules.
Please note {REMOTE_USER} is empty due to that fact. (and it bring problem like illustrated there)
See that image to illustrate the process; from there