开发者

Nested virtual directory or application within sitecore site, is it possible

开发者 https://www.devze.com 2023-02-06 10:43 出处:网络
I would like to nest asp.net web app within sitecore site, something like this: <sitecore web root folder>

I would like to nest asp.net web app within sitecore site, something like this:

<sitecore web root folder>
   .
         <virtual directory/app folder>

I want to access sitecore site by using following url:

http://<whatever site name>

and I would like to access web app by using following url:

 http://<whatever site name>/<whatever virtual directory/app a开发者_开发知识库lias>

Is this possible?

I tried it but when I try to access my web app (not sitecore) then web app complains about missing sitecore. I believe that is because now I have two config files ans when accessing web app iis/asp.net processing first sitecore web.config.


Right, your assumption is correct. See Creating a project in a virtual directory under Sitecore root article for more information about this kind of setup.


You should be able to create a virtual app under a Sitecore root path. Because its an app it will use its own app pool and you can have a web.config for it. I guess the physical files will be OUTSIDE of the Sitecore Website folder but the from a URL you can make the virtual app located anywhere below the Sitecore root.

0

精彩评论

暂无评论...
验证码 换一张
取 消