简体   繁体   中英

How to avoid deploying ASP.NET MVC3 application in subpath on IIS 7.5

When I deploy an ASP.NET MVC3 application to an IIS 7.5 on WindowsServer 8RC2 it is only accesible under this url: mydomain.com/mvcsite instead of just mydomain.com

I am using MSDeploy to install the app from deployment package built in visual studio.

On the IIS I have a website configured and inside this an Application named 'mvcsite'.

Do I need Url rewriting to make this work or can some default root path be configured in the IIS 7.5?

在站点的高级设置中(右键单击站点-> 管理网站 -> 高级设置... ),您可以将物理路径更改为mvcsite应用程序所在的路径。

原来,我只需要创建一个网站而无需在下面创建应用程序。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM