Reverse proxy with IIS

Configurating a reverse proxy is very handy, if you know the basics. In this article I will guide you through it.

1. Add rewrite rule

To access arguments from the enclosing function, you have to use workarounds by storing it into a separated variable. And to walk through this array-like object, you have to use duck typing and make indirect invocations.

Another situation is the function invocation that accepts a dynamic number of arguments. Filling the arguments from an array is unpleasant.