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\myExam
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