We're going to be hosting approx. 250 web sites on one instance of IIS
with host headers. They all need to reference the same Images, Media
and Scripts directories - is there a way to set IIS up so that they can
all reference the same folders? Or would we have to create 250 sets of
virtual directories? Or is there a better solution?

Re: Multiple Host Headers - Shared Resources??? by Chris

Chris
Wed Sep 21 14:41:11 CDT 2005

Basically it depends if any of the files in these folders need access to
cookies or sesion state.

If not then you could just reference a different url in your HTML

eg:

when calling http://www.WebSite1/default.htm

<html>
<body>
<img src="http://images/mywebsite.com/images/test.gif">
</body>
</html>

If they need access to cookies or session state then write a script to
create the site and any required virtual directories.

see www.iisfaq.com for sample scripts

Chris


--
Cheers

Chris

Chris Crowe [IIS MVP]
http://blog.crowe.co.nz


"OMNIMike" <aslmike@gmail.com> wrote in message
news:1127259389.958095.266920@f14g2000cwb.googlegroups.com...
> We're going to be hosting approx. 250 web sites on one instance of IIS
> with host headers. They all need to reference the same Images, Media
> and Scripts directories - is there a way to set IIS up so that they can
> all reference the same folders? Or would we have to create 250 sets of
> virtual directories? Or is there a better solution?
>