Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Default Document not in Site's Home Directory

 
   Web Hosting and Web Master Forums (Home) -> IIS RSS
Next:  Redirecting Virtural Directories  
Author Message
thisisafakeadd

External


Since: Dec 10, 2003
Posts: 2



(Msg. 1) Posted: Wed Dec 10, 2003 10:23 am
Post subject: Default Document not in Site's Home Directory
Archived from groups: microsoft>public>inetserver>iis (more info?)

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 
Back to top
Login to vote
vinayak_vijaya

External


Since: Dec 10, 2003
Posts: 2



(Msg. 2) Posted: Wed Dec 10, 2003 4:31 pm
Post subject: RE: Default Document not in Site's Home Directory [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

You need to go to the web site properties.Goto HOMEDIRECTORY tab select A Directory located on this computer -> Specify the path against LOCAL PATH . Under Documents Tab Select Eanble Default document and use the arrow to move your default file to the top of the list if it exists there or use the add button to add it to the list and move it to the top of the list.

 >> Stay informed about: Default Document not in Site's Home Directory 
Back to top
Login to vote
thisisafakeadd

External


Since: Dec 10, 2003
Posts: 2



(Msg. 3) Posted: Thu Dec 11, 2003 8:29 am
Post subject: Re: Default Document not in Site's Home Directory [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thanks, but I know how to set a default document. The problem is that
the default document needs to reside in a directory that is up a few
directory levels from the local path, then and down a different set of
directories. I'm not sure IIS allows you to do this. (See my first
post for more detail.)

Attila

"vinayak" <vinayak_vijayan DeleteThis @ml.com> wrote in message news:<E2852317-62A0-4749-9E60-B6D780DD996E DeleteThis @microsoft.com>...
 > You need to go to the web site properties.Goto HOMEDIRECTORY tab select A Directory located on this computer -> Specify the path against LOCAL PATH . Under Documents Tab Select Eanble Default document and use the arrow to move your default file to the top of the list if it exists there or use the add button to add it to the list and move it to the top of the list.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Default Document not in Site's Home Directory 
Back to top
Login to vote
someone9

External


Since: Aug 25, 2003
Posts: 2419



(Msg. 4) Posted: Fri Dec 12, 2003 10:56 pm
Post subject: Re: Default Document not in Site's Home Directory [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
IIS 6 Default Document - Has anyone noticed that in IIS 6 you can no longer specify a path to a default document? In IIS4 and IIS5 an administrator was able to specify a path such as "directory1/default.htm" IIS6 no long allows this. Does anyone know of a Registry h...

IIS Default Document problem - This is a very strange issue I am using IIS 5.0 on Windows 2000 Server SP3. I have an ActiveX control for an intranet application which uses the PUT verb to write a file to the server. It is called from an ASP page. It is contained in a virtual..

Setting an ISAPI DLL as default document in IIS 5.X - I have written an ISAPI DLL which works okay if I put it in the /scripts subfolder (/inetpub/scripts) and call it with http://url/scripts/dllname. I currently call this from a link in a simple HTML page. What I would like to do is make the DLL the..

Thousands of default document calls. What is it.? - I run IIS-4.0 on an NT 4.0 Server (SP6a) and analyse access logs using HitList 3.0. Been a great solution so far. But in the past two or three months there have been thousands of root page visits (typically about an extra 4000 to 5000 hits a month)..

Change "Default Document" using VBScript - I was looking for a method or program example to modify the sort order of the default document setting in IIS. First, check to make sure the default documnets are there, and then change the sort order between two default documents. Doing it all with..
   Web Hosting and Web Master Forums (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]