The usage of global.asa does demand that the file exists in the root of the
application, so that makes things a bit difficult. One thing that you
~could~ do is:
Site 1:
Home Directory: D:\Inetpub\wwwroot
Default Doc: site1.asp
Site 2:
Home Directory: D:\Inetpub\wwwroot
Default Doc: site2.asp
Site 3:
Home Directory: D:\Inetpub\wwwroot
Default Doc: site3.asp
Site 4:
Home Directory: D:\Inetpub\wwwroot
Default Doc: site4.asp
And then each site has virtual directories to where the subdirectories
really are for that site. But, I really don't think that I'd consider doing
this, because someone could go to
www.site1.com/site2.asp and get a bit
confused. You could of course put in some redirect code in each site*.asp
file to prevent that. Doing this would allow you to have one global.asa
file in D:\Inetpub\wwwroot.
Personally, I'd use four independent global.asa files instead of trying to
cross-breed your sites. How often do you change your global.asa file? It's
not like it's something that should be changed every day like a "what's new"
page. So, I'd either make the distribution of your global.asa an
operational procedure in your company or use a file synchronizing utility to
distribute automatically.
Ray at work
"nomad7" <no***********@mail.webservertalk.com> wrote in message
news:no***********@mail.webservertalk.com...
Hi, This my problem, we are migrating our intranet from IIS5 to IIS6 and
have decided to split various sections of the intranet to seperate
domain hosts,
e.g. we had:
www.intra.domain.com
BUT NOW HAVE:
depts.intra.domain.com
www.intra.domain.com
apps.intra.domain.com
My question is we now have all these hosts running off the same IIS6
and with unique host headers, but we want them to share just the one
global.asa file not have their own individual global.asa file.
Cheers
Mark S
--
nomad7
------------------------------------------------------------------------
Posted via http://www.webservertalk.com
------------------------------------------------------------------------
View this thread: http://www.webservertalk.com/message423230.html