简体   繁体   中英

How to add a directory located in a web server to iis as a virtual directory

I'm working on an ASP MVC application . I want to add access to a folder located in a web server from IIS and I've permission to this web directory. I need to add this folder as a virtual directory in IIS in order to use server.MapPath to access to it from my application and I can't find how could I add a web direcory from IIS Manager all i find is how to add a physical path.

You should be able to add virtual Directories in IIS7 in the Virtual Directories page in IIS Manager. Microsoft has an article regarding that here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM