My new release.config file has the following settings:
<system.webServer>
<modules>
<addname="ScriptModule"type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"preCondition="managedHandler" />
<addname="Compression"type="DotNetNuke.HttpModules.Compression.CompressionModule, DotNetNuke.HttpModules"preCondition="managedHandler" />
<addname="RequestFilter"type="DotNetNuke.HttpModules.RequestFilter.RequestFilterModule, DotNetNuke.HttpModules"preCondition="managedHandler" />
<addname="UrlRewrite"type="DotNetNuke.HttpModules.UrlRewriteModule, DotNetNuke.HttpModules"preCondition="managedHandler" />
<addname="Exception"type="DotNetNuke.HttpModules.Exceptions.ExceptionModule, DotNetNuke.HttpModules"preCondition="managedHandler" />
<addname="UsersOnline"type="DotNetNuke.HttpModules.UsersOnline.UsersOnlineModule, DotNetNuke.HttpModules"preCondition="managedHandler" />
<addname="DNNMembership"type="DotNetNuke.HttpModules.Membership.MembershipModule, DotNetNuke.HttpModules"preCondition="managedHandler" />
<addname="Personalization"type="DotNetNuke.HttpModules.Personalization.PersonalizationModule, DotNetNuke.HttpModules"preCondition="managedHandler" />
</modules>
<handlers>
<addname="AJAX_ScriptResourceHandler"path="ScriptResource.axd"verb="GET,HEAD"type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"preCondition="integratedMode,runtimeVersionv2.0" />
<addname="AJAX_AppServiceHandler"path="*_AppService.axd"verb="*"type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"preCondition="integratedMode,runtimeVersionv2.0" />
<addname="AJAX_WebServiceHandler"path="*.asmx"verb="*"type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"preCondition="integratedMode,runtimeVersionv2.0" />
<addname="LogoffHandler*"path="Logoff.aspx"verb="*"type="DotNetNuke.Services.Authentication.LogOffHandler, DotNetNuke"preCondition="integratedMode,runtimeVersionv2.0" />
<addname="RSSJandler"path="RSS.aspx"verb="*"type="DotNetNuke.Services.Syndication.RssHandler, DotNetNuke"preCondition="integratedMode,runtimeVersionv2.0" />
<addname="LinkClickHandler"path="LinkClick.aspx"verb="*"type="DotNetNuke.Services.FileSystem.FileServerHandler, DotNetNuke"preCondition="integratedMode,runtimeVersionv2.0" />
<addname="CaptchaHandler"path="*.captcha.aspx"verb="*"type="DotNetNuke.UI.WebControls.CaptchaHandler, DotNetNuke"preCondition="integratedMode,runtimeVersionv2.0" />
</handlers>
<validationvalidateIntegratedModeConfiguration="false" />
</system.webServer>
In my old web.config the settings were as follows:
<httpModules>
<!-- add name="Authentication" type="DotNetNuke.HttpModules.AuthenticationModule, DotNetNuke.HttpModules.Authentication" / -->
<addname="Compression"type="DotNetNuke.HttpModules.Compression.CompressionModule, DotNetNuke.HttpModules" />
<addname="RequestFilter"type="DotNetNuke.HttpModules.RequestFilter.RequestFilterModule, DotNetNuke.HttpModules" />
<addname="UrlRewrite"type="DotNetNuke.HttpModules.UrlRewriteModule, DotNetNuke.HttpModules" />
<addname="Exception"type="DotNetNuke.HttpModules.Exceptions.ExceptionModule, DotNetNuke.HttpModules" />
<addname="UsersOnline"type="DotNetNuke.HttpModules.UsersOnline.UsersOnlineModule, DotNetNuke.HttpModules" />
<addname="DNNMembership"type="DotNetNuke.HttpModules.Membership.MembershipModule, DotNetNuke.HttpModules" />
<addname="Personalization"type="DotNetNuke.HttpModules.Personalization.PersonalizationModule, DotNetNuke.HttpModules" />
<addname="ScriptModule"type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
</httpModules>
So my question is do I simply replace the old settings (<httpModules>) with the new settings <system.webServer>?