Files
Facilitor/web.config.sample
Jos Groot Lipman b1240d3046 FCLT#67404 SameSite=none moet een ;Secure krijgen
svn path=/Website/trunk/; revision=51929
2021-06-14 18:03:11 +00:00

38 lines
1.7 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<!-- enable when IIS Rewrite installed
<rewrite>
<rules configSource="appl\fac\fac_rewrite.config" />
<outboundRules>
<remove name="Add SameSite"/>
<rule name="Add SameSite" preCondition="No SameSite">
<match serverVariable="RESPONSE_Set_Cookie" pattern=".*" negate="false" />
<action type="Rewrite" value="{R:0}; SameSite=none; Secure" />
<conditions>
</conditions>
</rule>
<preConditions>
<remove name="No SameSite"/>
<preCondition name="No SameSite">
<add input="{RESPONSE_Set_Cookie}" pattern="." />
<add input="{RESPONSE_Set_Cookie}" pattern="; SameSite=none; Secure" negate="true" />
</preCondition>
</preConditions>
</outboundRules>
</rewrite>
-->
<httpErrors existingResponse="PassThrough">
<remove statusCode="500" subStatusCode="100" />
<error statusCode="500" subStatusCode="100" path="/appl/shared/500_error.asp" responseMode="ExecuteURL" />
</httpErrors>
<staticContent>
<clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="7.00:00:00" />
<remove fileExtension=".woff" />
<mimeMap fileExtension=".woff" mimeType="application/font-woff" />
<remove fileExtension=".woff2" />
<mimeMap fileExtension=".woff2" mimeType="font/x-woff" />
</staticContent>
</system.webServer>
</configuration>