In IIS, how to set environment variables for specific CGI scripts

I have two cgi scripts from a product that I cannot change. You need to set a specific environment variable. The other should be left alone.

Is there a way in IIS to do the same thing as the apache command SetEnvfor only one of the CGI scripts?

Ciao!

+3
source share
2 answers

You can use two different application pools, run them under different user accounts and set user environment variables. See the full answer here https://serverfault.com/questions/672726/in-iis7-is-it-possible-to-have -custom-environment-variables-per-web-site% 3E

+1

. , , , .

.

+1

Source: https://habr.com/ru/post/1756629/


All Articles