Lidarr/NzbDrone.Web/Web.config

115 lines
5.5 KiB
Plaintext
Raw Normal View History

2011-05-17 02:15:37 +00:00
<?xml version="1.0" encoding="utf-8"?>
2010-09-23 03:19:47 +00:00
<configuration>
2012-02-15 02:08:47 +00:00
<configSections>
2013-01-17 00:39:42 +00:00
<section name="cassette" type="Cassette.CassetteConfigurationSection, Cassette, Version=2.0.0.17974, Culture=neutral, PublicKeyToken=null" />
2012-02-15 02:08:47 +00:00
</configSections>
<startup useLegacyV2RuntimeActivationPolicy="true">
2011-03-30 06:18:35 +00:00
<supportedRuntime version="v4.0" />
</startup>
2013-01-23 05:58:17 +00:00
<cassette rewriteHtml="true" debug="true" />
<appSettings>
<add key="ClientValidationEnabled" value="true" />
<add key="UnobtrusiveJavaScriptEnabled" value="true" />
<add key="aspnet:MaxHttpCollectionKeys" value="5000" />
</appSettings>
<system.diagnostics>
<sources>
<source name="Cassette" switchName="CassetteSwitch" switchType="System.Diagnostics.SourceSwitch" />
</sources>
<switches>
<add name="CassetteSwitch" value="All" />
</switches>
</system.diagnostics>
2010-09-24 07:14:42 +00:00
<system.web>
<trust level="Full" originUrl=".*" />
<compilation debug="true" targetFramework="4.0" />
2011-04-05 02:59:33 +00:00
<pages validateRequest="false" pageParserFilterType="System.Web.Mvc.ViewTypeParserFilter, System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" pageBaseType="System.Web.Mvc.ViewPage, System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" userControlBaseType="System.Web.Mvc.ViewUserControl, System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
2011-03-30 06:18:35 +00:00
<controls>
<add assembly="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" namespace="System.Web.Mvc" tagPrefix="mvc" />
</controls>
2010-09-24 07:14:42 +00:00
<namespaces>
2010-10-02 19:01:43 +00:00
<add namespace="System.Web.Mvc" />
<add namespace="System.Web.Mvc.Ajax" />
<add namespace="System.Web.Mvc.Html" />
<add namespace="System.Web.Routing" />
<add namespace="System.Web.Helpers" />
<add namespace="System.Web.WebPages" />
2013-01-17 00:39:42 +00:00
<add namespace="Cassette.Views" />
2010-09-24 07:14:42 +00:00
</namespaces>
</pages>
2011-03-30 06:18:35 +00:00
<customErrors mode="Off" />
2010-09-24 07:14:42 +00:00
</system.web>
<system.webServer>
2013-01-17 00:39:42 +00:00
<modules runAllManagedModulesForAllRequests="true">
<add name="CassetteHttpModule" type="Cassette.Aspnet.CassetteHttpModule, Cassette.Aspnet" />
</modules>
2012-11-02 07:35:49 +00:00
<validation validateIntegratedModeConfiguration="false" />
2010-09-24 07:14:42 +00:00
<handlers>
2011-05-17 02:15:37 +00:00
<remove name="MvcHttpHandler" />
2010-10-02 19:01:43 +00:00
<remove name="UrlRoutingHandler" />
2011-05-17 02:15:37 +00:00
<add name="MvcHttpHandler" preCondition="integratedMode" verb="" path=".mvc" type="System.Web.Mvc.MvcHttpHandler" />
2013-01-17 00:39:42 +00:00
<add name="CassetteHttpHandler" path="cassette.axd" preCondition="integratedMode" verb="*" allowPathInfo="true" type="Cassette.Aspnet.CassetteHttpHandler, Cassette.Aspnet" />
2010-09-24 07:14:42 +00:00
</handlers>
2011-04-05 02:59:33 +00:00
<directoryBrowse enabled="false" />
2013-01-20 01:37:48 +00:00
<!--<staticContent>
2012-10-10 23:39:16 +00:00
<mimeMap fileExtension=".mp4" mimeType="video/mp4" />
<mimeMap fileExtension=".m4v" mimeType="video/m4v" />
<mimeMap fileExtension=".ogg" mimeType="video/ogg" />
<mimeMap fileExtension=".ogv" mimeType="video/ogg" />
<mimeMap fileExtension=".webm" mimeType="video/webm" />
<mimeMap fileExtension=".oga" mimeType="audio/ogg" />
<mimeMap fileExtension=".spx" mimeType="audio/ogg" />
<mimeMap fileExtension=".svg" mimeType="images/svg+xml" />
<mimeMap fileExtension=".svgz" mimeType="images/svg+xml" />
<remove fileExtension=".eot" />
<mimeMap fileExtension=".eot" mimeType="application/vnd.ms-fontobject" />
<mimeMap fileExtension=".otf" mimeType="font/otf" />
<mimeMap fileExtension=".woff" mimeType="font/x-woff" />
2013-01-20 01:37:48 +00:00
</staticContent>-->
<httpProtocol>
<customHeaders>
<add name="Access-Control-Allow-Origin" value="*" />
</customHeaders>
</httpProtocol>
2010-09-24 07:14:42 +00:00
</system.webServer>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
2010-09-24 07:14:42 +00:00
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.5.0.0" newVersion="4.5.0.0" />
</dependentAssembly>
2013-01-17 00:39:42 +00:00
<dependentAssembly>
<assemblyIdentity name="dotless.ClientOnly" publicKeyToken="96b446c9e63eae34" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.3.1.0" newVersion="1.3.1.0" />
</dependentAssembly>
2010-09-24 07:14:42 +00:00
</assemblyBinding>
</runtime>
<system.data>
<DbProviderFactories>
<remove invariant="System.Data.SqlServerCe.4.0" />
<add name="Microsoft SQL Server Compact Data Provider 4.0" invariant="System.Data.SqlServerCe.4.0" description=".NET Framework Data Provider for Microsoft SQL Server Compact" type="System.Data.SqlServerCe.SqlCeProviderFactory, System.Data.SqlServerCe, Version=4.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />
</DbProviderFactories>
</system.data>
2013-01-19 23:55:58 +00:00
<location path="api" allowOverride="false">
<system.web>
<customErrors mode="Off" />
</system.web>
<system.webServer>
<httpProtocol>
<customHeaders>
<add name="Cache-Control" value="no-cache, no-store, must-revalidate" />
<add name="Pragma" value="no-cache" />
<add name="Expires" value="0" />
</customHeaders>
</httpProtocol>
<handlers>
<add name="Nancy" verb="*" type="Nancy.Hosting.Aspnet.NancyHttpRequestHandler" path="*" />
</handlers>
<httpErrors errorMode="Detailed" />
</system.webServer>
</location>
2011-03-30 06:18:35 +00:00
</configuration>