IIS 5.1 vs any 'server IIS'

IIS 5.1 vs any 'server IIS'

Post by Kim Noe » Tue, 02 Dec 2003 07:10:33


Hi there..

Currently I'm having a problem setting up a site on my laptop, which is used
solely for developement. It seems that even though I create an application
for a directory, the application is still able to go back to wwwroot, which
apparently is the root!

On any of the server IIS this does not happen, the application can't go
futher back than to the base directory on which the application has been
created.

What's wrong, and how do I get this very annoying problem fixed?

Ie. this works on server iis : c:\inetpub\wwwroot\site (site is
application) - the asp pages can't go futher back than site, which means /
works, since site is the root. No go on IIS 5.1 (Windows XP).
--
Speaker : "And here we are at the start of the second semifinale of the 100
yards for people without any sense of direction."
 
 
 

IIS 5.1 vs any 'server IIS'

Post by Ken Schaef » Tue, 02 Dec 2003 10:07:03

By default, c:\inetpub\wwwroot\ is the home directory of the default
website.
You can change this to c:\inetpub\wwwroot\site if you want.

When you create a website on the server IIS, you need to choose the root
directory. Someone, when they configured the site, choose
c:\inetpub\wwwroot\site\

Also remember, site <> application. A site can have many application roots.

Cheers
Ken



: Hi there..
:
: Currently I'm having a problem setting up a site on my laptop, which is
used
: solely for developement. It seems that even though I create an application
: for a directory, the application is still able to go back to wwwroot,
which
: apparently is the root!
:
: On any of the server IIS this does not happen, the application can't go
: futher back than to the base directory on which the application has been
: created.
:
: What's wrong, and how do I get this very annoying problem fixed?
:
: Ie. this works on server iis : c:\inetpub\wwwroot\site (site is
: application) - the asp pages can't go futher back than site, which means /
: works, since site is the root. No go on IIS 5.1 (Windows XP).
: --
: Speaker : "And here we are at the start of the second semifinale of the
100
: yards for people without any sense of direction."
:
:

 
 
 

IIS 5.1 vs any 'server IIS'

Post by jcochran.n » Wed, 03 Dec 2003 02:40:42


Configure the root of your site to wherever you want the top to be.
Note that XP only gets a single site, so you're likely working with
the default site, and the default install root is as you mentioned.
Delete the default site and start a new one.

Jeff