I have an ASP.MVC site running at http://mysite.com
. Now, I want to add subapplication to it, as mentioned here: http://www.wiris.com/plugins/docs/ckeditor (point 2.2). I tried adding new application, but it doesn't let me add new application at http://mysite.com
, since there is already one defined. How can I make it work?
我有一个ASP。MVC站点在http://mysite.com上运行。现在,我想向它添加子应用程序,如这里所提到的:http://www.wiris.com/plugins/docs/ckeditor(点2.2)。我尝试添加新的应用程序,但是它不允许我在http://mysite.com添加新的应用程序,因为已经定义了一个。我如何让它工作?
1 个解决方案
#1
2
There are two ways to do this.
有两种方法可以做到这一点。
The first would be to create the new application in a sub-path of the parent application. So the app URL would be http://mysite.com/mysubsite.
第一种方法是在父应用程序的子路径中创建新应用程序。app的URL是http://mysite.com/mysubsite。
The alternative would be to have the sub-site listening on a different port (port 81, for example). The the URL would be http://mysite.com:81. The catch with this solution is that users would need to know the port your site is listening on, or only be able to get to it by following a link.
另一种选择是让子站点监听另一个端口(例如,端口81)。网址是http://mysite.com:81。这个解决方案的问题是,用户需要知道站点正在监听的端口,或者只能通过链接访问它。
#1
2
There are two ways to do this.
有两种方法可以做到这一点。
The first would be to create the new application in a sub-path of the parent application. So the app URL would be http://mysite.com/mysubsite.
第一种方法是在父应用程序的子路径中创建新应用程序。app的URL是http://mysite.com/mysubsite。
The alternative would be to have the sub-site listening on a different port (port 81, for example). The the URL would be http://mysite.com:81. The catch with this solution is that users would need to know the port your site is listening on, or only be able to get to it by following a link.
另一种选择是让子站点监听另一个端口(例如,端口81)。网址是http://mysite.com:81。这个解决方案的问题是,用户需要知道站点正在监听的端口,或者只能通过链接访问它。