Hello,
The folder "images" is outside the webroot of the website "bus". If you
were able to get to the folder "images", it would also be possible to get
to other folders on the file system (and as you can understand, that would
be a security risk).
I would recommend you to create a virtual folder "images" in each of the
websites. By doing this, you will not use any more disk space that you do
with your current setup, and all changes to the folder "images" will apply
to all websites having "images" as a virtual folder.
See all websites as individually websites, with no relation to each other.
That will help you construct the folder structure. It could look something
like:
inetpub
wwwroot
images (physical folder)
bus
images (virtual folder)
emp
images (virtual folder)
Hope this answers your question.
--
Regards,
Kristofer Gafvert
<a style='text-decoration: underline;' href="http://www.ilopia.com" target="_blank">www.ilopia.com</a>
CAG wrote:
> Here is the situation
>
> Running IIS 6.0 on a Windows server 2003 box with one IP address
> Have multiple websites that needed to be created
>
<font color=purple> > <a style='text-decoration: underline;' href="http://www.root.com</font" target="_blank">www.root.com</font</a>>
<font color=purple> > <a style='text-decoration: underline;' href="http://www.bus.com</font" target="_blank">www.bus.com</font</a>>
<font color=purple> > <a style='text-decoration: underline;' href="http://www.emp.root.com</font" target="_blank">www.emp.root.com</font</a>>
>
> So we handled the multiple websites by using document headers
>
> Here is the directory structure
>
> inetpub
> wwwroot
> bus
> emp
> images
> bus
> emp
> index.htm
>
> What is the best way (or a way besides a absolute link) to link to the
> images from the web site "bus"?
> linking to a image these way will not work /images/emp/test.gif
>
> Also linking to a stylesheet has it's problems
<font color=purple> > <a style='text-decoration: underline;' href="http://www.bus.com</font" target="_blank">www.bus.com</font</a>>
> <link rel="stylesheet" href="index.css" type="text/css"> with
index.css
> in the root of bus will not work
>
>
> Thanks in advance for any help.<!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: multiple website problems