Link to home
Start Free TrialLog in
Avatar of IzzyTwinkly
IzzyTwinklyFlag for United States of America

asked on

Virtual directory with iis

Hi,

I am stuyding about "virtual directory" now and I am little bit confused about this concept.

I learned that "c:\Inetpub\wwwroot" will be created as a root directory when I install IIS.

For example, if I create "a.aspx" file and put it under root directory (C:\Inetput\www.root\a.aspx), I can enter "http://localhost/a.aspx" to a web browser's address bar.

Lest's say that I want to creat a virtual directory.  I used "myWeb" as an alias and "C:\myExample" as a physical path.  
Then, I copied a.aspx into C:\myExample folder.
Now I can access "a.aspx" using "http://localhost/myWeb/a.aspx".

So I guess that it's like accessing "C:\Inetpub\wwwroot\myExample\a.aspx".
However, it doesn't make sense since myExample is under C directory.

Could you please explain the relationship among "C:\Inetput\www.root", "C:\myExample", and "http://localhost etc.
Avatar of xmlmagician
xmlmagician
Flag of United Kingdom of Great Britain and Northern Ireland image

I am in two minds if this is a genuine question or we are doing your assignment work for you:-)?
Avatar of IzzyTwinkly

ASKER

Hi xmlmagician,

What made you think that this is for my homework?
I am just curious.  If I know what that is, I can avoid spending my time to tell you that this is my real question.

I expected the answer for my question when I received the email saying that the possible answer was posted for the question and now I see your irrelevant comment instead.  It is really frustrating.
ASKER CERTIFIED SOLUTION
Avatar of himanshut
himanshut
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial