简体   繁体   中英

URL Rewrite Module, Azure and web.config

I'm trying to use the URL rewrite module in Azure but for some reason I can't add a <rewrite> section to the web.config's system.webServer section (as shown on http://msdn.microsoft.com/en-us/library/dd573358.aspx ).

I've installed the URL Rewrite Modeul v2via the Web Platform Installer. I'm using Visual Studio 2010 with the v4.0 framework and a standard ASP.NET Work Role.

Any help in this regard would be greatly appreciated...

If you are deploying to Microsoft Azure platform, there is no need to install any rewrite module. Is already installed on the IIS7.

If your visual studio doesn't allow to publish or generate the package, you can try to install the module on your dev machine.

I reproduced your error on a Visual Studio 2010 express, having the same warning and I'm able to generate the package, then, if you are working in another version, you could try to upgrade. No rewrite module installed on my pc.

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