178 lines
9.3 KiB
XML
178 lines
9.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
ASP.NET 응용 프로그램을 구성하는 방법에 대한 자세한 내용은 다음을 참조하세요.
|
|
https://go.microsoft.com/fwlink/?LinkId=301880
|
|
-->
|
|
<configuration>
|
|
<configSections>
|
|
<sectionGroup name="common">
|
|
<section name="logging" type="Common.Logging.ConfigurationSectionHandler, Common.Logging" />
|
|
</sectionGroup>
|
|
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" />
|
|
<!--Spring-->
|
|
<sectionGroup name="spring">
|
|
<section name="parsers" type="Spring.Context.Support.NamespaceParsersSectionHandler, Spring.Core" />
|
|
<section name="typeAliases" type="Spring.Context.Support.TypeAliasesSectionHandler, Spring.Core" />
|
|
<section name="context" type="Spring.Context.Support.MvcContextHandler, Spring.Web.Mvc5" />
|
|
<section name="objects" type="Spring.Context.Support.DefaultSectionHandler, Spring.Core" />
|
|
<!--<section name="context" type="Spring.Context.Support.MvcContextHandler, Spring.Core" />
|
|
<section name="objects" type="Spring.Context.Support.DefaultSectionHandler, Spring.Core" />-->
|
|
</sectionGroup>
|
|
<!---iBATIS-->
|
|
<sectionGroup name="iBATIS">
|
|
<section name="logging" type="IBatisNet.Common.Logging.ConfigurationSectionHandler, IBatisNet.Common" />
|
|
</sectionGroup>
|
|
<!--Common-->
|
|
</configSections>
|
|
<appSettings>
|
|
<add key="webpages:Version" value="3.0.0.0" />
|
|
<add key="webpages:Enabled" value="false" />
|
|
<add key="ClientValidationEnabled" value="true" />
|
|
<add key="UnobtrusiveJavaScriptEnabled" value="true" />
|
|
<add key="fronturl" value="http://{0}.ntest.kr"/>
|
|
</appSettings>
|
|
<common>
|
|
<logging>
|
|
<factoryAdapter type="Common.Logging.Simple.TraceLoggerFactoryAdapter, Common.Logging">
|
|
<arg key="Level" value="ALL" />
|
|
</factoryAdapter>
|
|
</logging>
|
|
</common>
|
|
<spring>
|
|
<!--<context>
|
|
<resource uri="config://spring/objects"/>
|
|
</context>
|
|
<objects xmlns="http://www.springframework.net">
|
|
|
|
<object name="CustomerRepositoryService"
|
|
type="App.Repository.CustomerRepository,App.Repository"/>
|
|
|
|
<object name="CustomerController" type="SpringNetMVC5.Controllers.CustomerController, SpringNetMVC5" singleton="false">
|
|
<property name="CustomerRepository" ref="CustomerRepositoryService"/>
|
|
</object>
|
|
|
|
</objects>-->
|
|
<context>
|
|
<resource uri="file://~/Spring/Controllers.xml" />
|
|
<resource uri="file://~/Spring/Daos.xml" />
|
|
<resource uri="file://~/Spring/Svcs.xml" />
|
|
</context>
|
|
<parsers>
|
|
<parser type="Spring.Data.Config.DatabaseNamespaceParser, Spring.Data" />
|
|
<parser type="Spring.Transaction.Config.TxNamespaceParser, Spring.Data" />
|
|
</parsers>
|
|
</spring>
|
|
<connectionStrings>
|
|
<add name="xls" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source={0};Extended Properties=Excel 8.0" />
|
|
<add name="xlsx" connectionString="Provider=Microsoft.ACE.OLEDB.12.0;Data Source={0};Extended Properties=Excel 12.0" />
|
|
</connectionStrings>
|
|
<!--
|
|
web.config 변경 내용에 대한 설명은 http://go.microsoft.com/fwlink/?LinkId=235367을 참고하십시오.
|
|
|
|
다음 특성은 <httpRuntime> 태그에 설정할 수 있습니다.
|
|
<system.Web>
|
|
<httpRuntime targetFramework="4.5" />
|
|
</system.Web>
|
|
-->
|
|
<system.web>
|
|
<authentication mode="Forms">
|
|
<forms loginUrl="~/Account/Index" timeout="2880" />
|
|
</authentication>
|
|
<!--<sessionState mode="StateServer" stateConnectionString="tcpip=localhost:42424" cookieless="false" timeout="20" cookieName="ntest_admin" />-->
|
|
<sessionState cookieless="UseCookies" cookieName="ntest_admin" mode="Off" stateConnectionString="tcpip=localhost:42424" timeout="60" />
|
|
<identity impersonate="true" userName="ntest" password="dev1@#" />
|
|
<customErrors mode="On" defaultRedirect="~/Account/Error">
|
|
<error statusCode="404" redirect="~/Account/Error404" />
|
|
<error statusCode="403" redirect="~/Account/Error403" />
|
|
<error statusCode="500" redirect="~/Account/Error500" />
|
|
</customErrors>
|
|
<compilation debug="true" targetFramework="4.6" />
|
|
<httpRuntime targetFramework="4.5" requestValidationMode="2.0" />
|
|
<httpModules>
|
|
<add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" />
|
|
</httpModules>
|
|
</system.web>
|
|
<system.web.extensions>
|
|
<scripting>
|
|
<webServices>
|
|
<jsonSerialization maxJsonLength="5000000" />
|
|
</webServices>
|
|
</scripting>
|
|
</system.web.extensions>
|
|
<runtime>
|
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed" />
|
|
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35" />
|
|
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
|
|
<bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
|
|
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
|
|
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
|
|
<bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="System.Web.Http" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="Common.Logging.Core" publicKeyToken="af08829b84f0328e" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="Common.Logging" publicKeyToken="af08829b84f0328e" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-1.2.0.0" newVersion="1.2.0.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="System.Web.Http.WebHost" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
|
|
</dependentAssembly>
|
|
</assemblyBinding>
|
|
</runtime>
|
|
<system.webServer>
|
|
<security>
|
|
<requestFiltering>
|
|
<requestLimits maxAllowedContentLength="1073741824"></requestLimits>
|
|
</requestFiltering>
|
|
</security>
|
|
<!--<httpErrors>
|
|
<remove statusCode="403" subStatusCode="-1" />
|
|
<error statusCode="403" prefixLanguageFilePath="" path="Account/Error403" responseMode="ExecuteURL" />
|
|
</httpErrors>
|
|
<rewrite>
|
|
<outboundRules>
|
|
<rule name="Change location header" patternSyntax="ExactMatch">
|
|
<match serverVariable="RESPONSE_location" pattern="/Account/Error403?foo=bar" />
|
|
<action type="Rewrite" value="/Account/Error403" />
|
|
</rule>
|
|
</outboundRules>
|
|
</rewrite>
|
|
<defaultDocument enabled="false" />-->
|
|
<validation validateIntegratedModeConfiguration="false" />
|
|
<modules>
|
|
<remove name="ApplicationInsightsWebTracking" />
|
|
<add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" preCondition="managedHandler" />
|
|
</modules>
|
|
<handlers>
|
|
<remove name="ExtensionlessUrlHandler-Integrated-4.0" />
|
|
<remove name="OPTIONSVerbHandler" />
|
|
<remove name="TRACEVerbHandler" />
|
|
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
|
|
</handlers>
|
|
</system.webServer>
|
|
|
|
</configuration> |