What is a virtual directory? What is the use of this?

Please explain to me, please, an example of what a virtual directory is and why do we need it?

+5
source share
4 answers

A virtual directory is a friendly name or alias, either for a physical directory on your server’s hard drive that is not in the home directory.
Since the alias is usually shorter than the path to the physical directory, it is more convenient for the user to enter text.

Taken from here

+8
source

In fact, in IIS it looks like a shortcut to another directory on your computer, although it looks like a subdirectory of the current directory.

those.

www.example.com/bob/phil

bob , phil - , bob

+8

, IIS .

: , , .

, IIS .

3100 PDF

0

The web application is accessed using the name of the virtual directory instead of the name of the physical folder. For example, if you have a web application called "Shopcart" on your computer, you will have a virtual directory for this web application. You will access your web application using the URL. If your virtaul directory name is "Test", then your web application URL will be " http: // localhost / Test ".

0
source

All Articles