Sub-Website in IIS - ASP.NET

早过忘川 提交于 2019-11-28 03:34:10

问题


I have a asp.net website in the IIS which is available on internet as www.xyz.com now I have been asked to prepare another website which will be accessed via www.xyz.com/abc.

For this, do I need to create a virtual directory under the website folder XYZ in IIS? or is there any other way to achieve this.


回答1:


You need to make the subdirectory an IIS application.

Keep in mind that inner apps like yours will be inheriting configurations from the top-most web configuration, so be careful clearing those settings you don't want in the child applications.




回答2:


Yes a virtual directory will work, however note that if abc is a full-blown app you will have to add it as an application not as a virtual directory



来源:https://stackoverflow.com/questions/4747576/sub-website-in-iis-asp-net

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