63 lines
2.4 KiB
XML
63 lines
2.4 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"/>
|
|
<authentication mode="Forms">
|
|
<forms loginUrl="~/Security/Login.aspx" name=".ActzAuth" path="/" protection="All" timeout="600" defaultUrl="/" cookieless="UseDeviceProfile"/>
|
|
</authentication>
|
|
<authorization>
|
|
<deny users="?"/>
|
|
</authorization>
|
|
<pages controlRenderingCompatibilityVersion="4.0" clientIDMode="AutoID"/>
|
|
</system.web>
|
|
<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"/>
|
|
</appSettings>
|
|
<system.webServer>
|
|
<modules runAllManagedModulesForAllRequests="true"/>
|
|
<handlers>
|
|
<remove name="ChartImage_axd"/>
|
|
</handlers>
|
|
<security>
|
|
<requestFiltering>
|
|
<requestLimits maxAllowedContentLength="41943040"/>
|
|
</requestFiltering>
|
|
</security>
|
|
<rewrite>
|
|
<rules>
|
|
<rule name="aspxcloak">
|
|
<!--Removes the .aspx extension for all pages.-->
|
|
<match url="(.*)"/>
|
|
<conditions logicalGrouping="MatchAll">
|
|
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true"/>
|
|
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true"/>
|
|
</conditions>
|
|
<action type="Rewrite" url="{R:1}.aspx"/>
|
|
</rule>
|
|
</rules>
|
|
</rewrite>
|
|
</system.webServer>
|
|
</configuration> |