iisnode icon indicating copy to clipboard operation
iisnode copied to clipboard

shared code dir but 2 web sites

Open djholly123 opened this issue 11 years ago • 1 comments

HI

I am trying to setup

siteA.com pointing at d:\IISRoot\siteA folder (appA.js) siteB.com pointing at d:\IISRoot\siteA same folder (appB.js)

is this possible in web.config with conditions on location or some trick with variables in node script ? apologies if I am being dumb and missing obvious. would make deployment from webstorm etc loads easier

any help appreciated

djholly123 avatar Jun 17 '15 16:06 djholly123

worked out that : process.env.APP_POOL_ID

... is available to allow modules switching in in different site (if different app pool)

happy now ... no more web.config hell

unless anyone thinks of a better ways

thanks

djholly123 avatar Jun 17 '15 16:06 djholly123