子网站在IIS中 - ASP.NET [英] Sub-Website in IIS - ASP.NET
问题描述
我在IIS中的asp.net网站,该网站提供互联网上的www.xyz.com我现在已经被要求prepare其他网站将通过www.xyz.com/abc。访问
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.
对于这一点,我需要在IIS中创建网站的文件夹下,XYZ的虚拟目录?或是否有任何其他的方式来实现这一目标。
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.
推荐答案
您需要做的子目录IIS应用程序。
You need to make the subdirectory an IIS application.
记住,像你这样的内部应用程序将是最顶端的Web配置继承的配置,所以要小心,在孩子申请清算,你不希望这些设置。
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.
这篇关于子网站在IIS中 - ASP.NET的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!