IIS Virtual Directory based on a Server Variable?

201 views Asked by At

Is there a way to set a virtual directory path based on some server side variable?

We have a production and staging web farm as well as development and regression web servers: 7 total.

I want all production web servers to use a virtual directory which points to a production file share. Likewise, the staging web server's virtual directory would point to the staging file share. etc...

I would like to avoid making a code change for this -- unless someone has a better idea.

Windows Server 2016 Standard
IIS v10.0.14393

Thank you

0

There are 0 answers