Forms Posting to wrong URL in Sitecore 6.4.1 update 4

If you are running on IIS 6 or IIS with mode set to Classic forms will post to their layouts url instead of the item url.

To fix this you need to add the following module to the top of the system.web/httpmodules section of the web.config.


<add type=”Sitecore.Web.RewriteModule,
Sitecore.Kernel” name=”SitecoreRewriteModule”/>
If you are running IIS 7 in Integrated mode you mostly likely missed this upgrade step and need to add it to the top of the system.webserver/module sections.