Configure URL in IIS

六眼飞鱼酱① 提交于 2019-12-06 14:38:56

I was able to make the following scenario work.

  1. DNN running in a website in IIS called "DNNDEV.ME" with the URL binding being set for DNNDEV.ME. Location of the DNN files c:\websites\dnndev.me
  2. Created a new "APPLICATION" under the DNNDEV.ME site, using the same DNNDEV.ME application pool. I pointed that application's root to the folder c:\websites\newapp\
  3. Modified the DNN web.config file to wrap <location path="." inheritInChildApplications="false"> around the system.webServer node
  4. With that functioning I added a file called sample.aspx, with the contents being

    This is a test.

The site loaded fine, and DNN continued to function as well. I added a sample web.config into the c:\websites\newapp\ folder from https://www.daniellittle.xyz/example-web-config-files-3-5-and-4-5/#Framework451 just to check that out, and the site continued to function as well.

I added dnn9.dnndev.me to my bindings on the DNNDEV.ME website as well, and it continues to function without problems.

Only real difference I can see from what I did, and you said you tested, is that I made an APPLICATION not a Virtual Directory in IIS for /NewApp/

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