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