Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to create a virtual directory for IIS server

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "how to create a virtual directory on an IIS server". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "how to create a virtual directory on an IIS server".

We know that the IIS server is closely integrated with the Windows NT server, which ensures that network administrators and application developers have the same security, network, and management functions as Windows NT servers.

After the IIS server Web site or FTP site is created, the site administrator can put the information to be published in the home directory, or it can be published in other directories that are never included in the home directory, which requires the creation of a virtual directory.

For example, if the home directory of the default Web site is c:\ InetPub\ wwwroot, and the actual information to be published is stored in the c:\ InetPub\ example directory, you need to create a virtual directory in the default Web site.

First select "default IIS server Web site", right-click on it, select add → virtual directory in the dialog box that pops up, and then fill in the name of the virtual directory (such as example), the actual physical path (c:\ InetPub\ example) and the access rights of this virtual directory in the dialog box of the pop-up operation wizard. When you type URL as http://e40/example in the browser, the default document specified under c:\ InetPub\ example is displayed.

In fact, a virtual directory (such as example) is not a real directory, it is an alias for the actual physical path (such as c:\ InetPub\ example), and the files are stored in the actual physical path, while in the IIS server, it is managed as a virtual directory, regardless of the physical path. The user uses the virtual directory name to access the actual physical path directory in the browser, which is more secure. The user does not know the actual location of the file in the server, and cannot use this information to modify the file.

In addition, it is also easy to move directories in the site. Instead of changing the URL of a directory, change the mapping between the virtual directory and the actual physical location.

Thank you for reading, the above is the content of "how to create a virtual directory on the IIS server". After the study of this article, I believe you have a deeper understanding of how to create a virtual directory on the IIS server, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report