Change Inet root folder for iis 7

孤街浪徒 提交于 2019-12-24 01:24:20

问题


I am facing a very exasperating challenge. I have to deploy my ASP.NET MVC 3 application in a production server.

In this production server I have two drives C: and D:. I am authorized to put my websites in the D:\data folder and I cannot use the C:.

Unfortunately IIS creates the Inet directory in C: and apparently there is no way in the IIS manager to change this destination. Is there any way to change this directory? In the case this is not possible, is there any way to solve this problem in an alternative way?

Consider that I have my code stored in the D: of the production server and I have Visual Studio installed in it.

Thanks

Francesco


回答1:


You can set the root folder of the website to whatever location you want. And if you create a virtual directory and host this MVC application inside the directory it could even be outside of the root of the web site:



来源:https://stackoverflow.com/questions/5635657/change-inet-root-folder-for-iis-7

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!