If there are any links (such as images) in that Default Document, do you
want them resolved relative to C:\inetpub\wwwroot\MyWebsite or C:\foo\bar ?
In any case, you're not looking at intended IIS behavior, so I wouldn't rely
on it.
--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Attila" <ThisIsAFakeAddress35 DeleteThis @hotmail.com> wrote in message
news:9516751f.0312100723.5dc6b959@posting.google.com...
Hello,
For reasons that are out of my control, I would like to have the
default document set to a file that is in a completely different
directory then what is the site's home directory. In this case I need
to go up a few directory levels, and then down a different set of
directories.
For example, my site's home directory is set to:
c:\inetpub\wwwroot\MyWebsite
I would like the default document reside in:
c:\foo\bar\
What I have found is that while I can set the default document to
reside in a directory that is up a few levels from the site's home
directory (c:\), it can't have is reside in a directory that up a few
levels and then down a different set of directories (c:\foo\bar\).
i.e. setting the default document in IIS to "../../default.htm" works,
but "../../foo/bar/default.htm" does not.
Is this how IIS is designed to work, or am I doing something
wrong?
Thanks,
Attila
>> Stay informed about: Default Document not in Site's Home Directory