麻烦高手帮忙合并2个we.config
求高手帮忙合并下,感激不尽。第一个:
<?xml version="1.0"?>
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<configSections>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/>
</configSections>
<log4net>
<!--定义输出到文件中-->
<appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
<!--定义文件存放位置-->
<file value="log\\"/>
<appendToFile value="true"/>
<rollingStyle value="Date"/>
<datePattern value="yyyy\\yyyyMM\\yyyyMMdd'.txt'"/>
<staticLogFileName value="false"/>
<param name="MaxSizeRollBackups" value="100"/>
<layout type="log4net.Layout.PatternLayout">
<!--每条日志末尾的文字说明-->
<!--输出格式-->
<!--样例:2008-03-26 13:42:32,111 [10] INFO Log4NetDemo.MainClass [(null)] - info-->
<conversionPattern value="%newline %n记录时间:%date %n线程ID:[%thread] %n日志级别: %-5level %n出错类:%logger property: [%property{NDC}] - %n错误描述:%message%newline %n"/>
</layout>
</appender>
<root>
<level value="ERROR"/>
<!--文件形式记录日志-->
<appender-ref ref="RollingLogFileAppender"/>
</root>
</log4net>
<system.web>
<pages validateRequest="false">
<controls>
<add tagPrefix="webdiyer" namespace="Wuqi.Webdiyer" assembly="AspNetPager"/>
<add tagPrefix="we7design" namespace="We7.CMS.Module.VisualTemplate.Controls" assembly="We7.CMS.UI"/>
</controls>
<namespaces>
<add namespace="We7"/>
<add namespace="We7.CMS.Common"/>
<add namespace="We7.Framework"/>
<add namespace="We7.CMS.WebControls"/>
<add namespace="We7.Framework.Common"/>
<add namespace="System.Data"/>
<add namespace="We7.CMS.Common.Enum"/>
<add namespace="System.Collections.Generic"/>
<add namespace="Thinkment.Data"/>
<add namespace="We7.CMS.WebControls.Core"/>
</namespaces>
</pages>
<compilation debug="true">
<assemblies>
<add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
</assemblies>
<buildProviders>
<add extension=".html" type="System.Web.Compilation.PageBuildProvider"/>
</buildProviders>
</compilation>
<authentication mode="Forms">
<forms loginUrl="/go/Login.aspx" protection="All" timeout="30" name=".ASPXAUTH" path="/" requireSSL="false" slidingExpiration="true" defaultUrl="default.aspx" cookieless="UseCookies" enableCrossAppRedirects="false"/>
</authentication>
<!--导入word需要设置此权限-->
<!--<identity impersonate="true" userName="Administrator" password="1"/>-->
<customErrors mode="RemoteOnly" defaultRedirect="errors.aspx"/>
<sessionState timeout="3600" mode="InProc" cookieless="false"></sessionState>
<globalization requestEncoding="UTF-8" responseEncoding="UTF-8"/>
<httpRuntime maxRequestLength="409600" appRequestQueueLimit="5000" executionTimeout="3000"/>
<httpHandlers>
<remove verb="*" path="*.asmx"></remove>
<add verb="*" path="*.html" type="System.Web.UI.PageHandlerFactory"/>
<add verb="*" path="*.asmx" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions"/>
<!--This will process any ext mapped to aspnet_isapi.dll -->
<add path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader" validate="True"/>
<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
<!--This provider the webservice(*.asmx) ajax responseFormat like json or xml -->
</httpHandlers>
<httpModules>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add type="We7.UrlRewriter.HttpModule, We7.UrlRewriter" name="UrlReWriteModule"/>
</httpModules>
</system.web>
<system.webServer>
<handlers>
<add name="we7.*" path="*" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="None" preCondition="classicMode,runtimeVersionv2.0,bitness32"/>
</handlers>
<modules>
<!-- 注意:此节设置由We7接管http请求。不会干涉对非We7 CMS路径下的请求。-->
<add type="We7.UrlRewriter.HttpModule, We7.UrlRewriter" name="UrlReWriteModule"/>
</modules>
<defaultDocument>
<files>
<clear/>
<add value="default.aspx"/>
<add value="index.aspx"/>
</files>
</defaultDocument>
<directoryBrowse enabled="true"/>
</system.webServer>
<system.codedom>
</system.codedom>
</configuration>
第2个:
--------------------编程问答-------------------- 有人帮帮我吗 --------------------编程问答-------------------- 在顶下 希望高手帮忙 --------------------编程问答-------------------- 擦 这种体力活自己干去
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.web>
<compilation defaultLanguage="c#" debug="true" />
<authorization>
<allow users="*" />
</authorization>
<trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true" />
<customErrors mode="Off" />
<globalization requestEncoding="utf-8" responseEncoding="utf-8" fileEncoding="utf-8" />
<pages validateRequest="false" enableEventValidation="false" enableViewStateMac="false" viewStateEncryptionMode="Never" />
<httpModules>
<add type="Discuz.Forum.HttpModule, Discuz.Forum" name="HttpModule" />
</httpModules>
<xhtmlConformance mode="Legacy" />
<httpRuntime maxRequestLength="2097151" executionTimeout="3600" />
<webServices>
<protocols>
<add name="HttpGet" />
<add name="HttpPost" />
</protocols>
</webServices>
</system.web>
<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
<modules>
<!-- 注意:此节设置由Discuz!NT接管http请求。不会干涉对非Discuz!NT论坛路径下的请求。-->
<add type="Discuz.Forum.HttpModule, Discuz.Forum" name="HttpModule" />
</modules>
<defaultDocument>
<files>
<clear />
<add value="index.aspx" />
<add value="forumindex.aspx" />
<add value="spaceindex.aspx" />
<add value="albumindex.aspx" />
</files>
</defaultDocument>
<directoryBrowse enabled="true" />
</system.webServer>
</configuration>
补充:.NET技术 , ASP.NET