58 lines
2.2 KiB
XML
58 lines
2.2 KiB
XML
<?xml version="1.0"?>
|
|
<!--
|
|
For more information on how to configure your ASP.NET application, please visit
|
|
http://go.microsoft.com/fwlink/?LinkId=169433
|
|
|
|
-->
|
|
<configuration>
|
|
<!--
|
|
For a description of web.config changes for .NET 4.5 see http://go.microsoft.com/fwlink/?LinkId=235367.
|
|
|
|
The following attributes can be set on the <httpRuntime> tag.
|
|
<system.Web>
|
|
<httpRuntime targetFramework="4.5" />
|
|
</system.Web>
|
|
-->
|
|
<system.web>
|
|
<machineKey configSource="machineKey.config"/>
|
|
<compilation debug="true" batch="false" targetFramework="4.5"/>
|
|
<customErrors mode="Off"/>
|
|
<httpRuntime maxRequestLength="40960" executionTimeout="180" targetFramework="4.5"/>
|
|
<authentication mode="Forms">
|
|
<forms loginUrl="~/Security/Login" name=".ActzAuth" path="/" protection="All" timeout="600" defaultUrl="/" cookieless="UseDeviceProfile"/>
|
|
</authentication>
|
|
<authorization>
|
|
<deny users="?"/>
|
|
</authorization>
|
|
<pages controlRenderingCompatibilityVersion="4.0" clientIDMode="AutoID"/>
|
|
</system.web>
|
|
<system.web.extensions>
|
|
<scripting>
|
|
<webServices>
|
|
<jsonSerialization maxJsonLength="50000000"/>
|
|
</webServices>
|
|
</scripting>
|
|
</system.web.extensions>
|
|
<system.data>
|
|
<DbProviderFactories>
|
|
<add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.2.2.0, Culture=neutral"/>
|
|
</DbProviderFactories>
|
|
</system.data>
|
|
<appSettings>
|
|
<add key="aspnet:UseLegacyEncryption" value="true"/>
|
|
<add key="aspnet:UseLegacyMachineKeyEncryption" value="true"/>
|
|
<add key="aspnet:UseLegacyFormsAuthenticationTicketCompatibility" value="true"/>
|
|
<add key="MonoServerDefaultIndexFiles" value="/"/>
|
|
</appSettings>
|
|
<system.webServer>
|
|
<modules runAllManagedModulesForAllRequests="true"/>
|
|
<handlers>
|
|
<remove name="ChartImage_axd"/>
|
|
</handlers>
|
|
<security>
|
|
<requestFiltering>
|
|
<requestLimits maxAllowedContentLength="41943040"/>
|
|
</requestFiltering>
|
|
</security>
|
|
</system.webServer>
|
|
</configuration> |