Hi
I'm running win10 on my pc, where I have ISS installed. I do manage 4 websites and I test them locally on my pc. It works fine.
Recently I have made individuals global.asa for the 4 sites (domains, applications), since I want each individual site to have its own global.asa
But where shall I install it?
In the old days (2 weeks ago) I had alle 4 websites placed directly under inetpub/wwwroot together with a common global.asa. It worked perfectly as long as all 4 websites could use the same global.asa.
Now I have moved the files so they are situated parallel. I have moved the files belonging to domain1 from inetpub/wwwroot to netpub/wwwroot/domain1 and made the same for the other 3.
In ISS I have also declared 4 new websites each with the name domain and physically placed under inetpub/wwwroot/domain, i.e. I have now
inetpub/wwwroot/domain1
inetpub/wwwroot/domain2
inetpub/wwwroot/domain4
And I have now the 4 different global.asa - one in each folder.
However my files can not see the global.asa. If i run index.asp under domain2 it can not show me the calls to global.asa. But if I move the global.asa from inetpub/wwwroot/domain2/global.asa one level up to inetpub/wwwroot/global.asa it can be seen. But this means that all four applications are controlled by the same global.asa and not their own global.asa, so this is not what I want.
So it looks as the root for domain2 is not - as I had hoped - inetpub/wwwroot/domain2, but stil the old place inetpub/wwwroot
What am I doing wrongly og what do I miss to do?
Best regard and hoping for help
/jens