Archived Support Site

This support site is archived. You can view the old support discussions but you cannot post new discussions.

FYI - Allowing URL Rewrite in WebMatrix

turnkey's Avatar

turnkey

29 Jan, 2011 02:38 PM

This is for information in case anyone else runs into this issue. When I pushed a WebMatrix site it wasn't working correctly, forcing one to add the .cshtml in the URL string. According to the WebMatrix release notes this is caused by IIS not allowing URL Rewrite by default.

I fixed this issue by adding the following to the web.config:

 <system.webServer>
      <modules runAllManagedModulesForAllRequests="true"/>
 </system.webServer>
  1. Support Staff 1 Posted by tt on 30 Jan, 2011 09:49 PM

    tt's Avatar

    Thanks for the advice.

    If a configuration file doesn't exist for the site, we will create one on-the-fly and enable that particular setting.

  2. tt closed this discussion on 30 Jan, 2011 09:49 PM.

Discussions are closed to public comments.
If you need help with AppHarbor please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac