<?xml version="1.0" encoding="UTF-8"?>
<configuration>
	<system.webServer>
		<webSocket enabled="false" />
		<handlers>
			<remove name="PHP56_via_FastCGI" />
			<add name="PHP56_via_FastCGI" path="*.php" verb="GET,PUT,POST,DELETE,HEAD,OPTIONS,TRACE,PROPFIND,PROPPATCH,MKCOL,COPY,MOVE,LOCK,UNLOCK" modules="FastCgiModule" scriptProcessor="D:\Program Files (x86)\PHP\v5.6\php-cgi.exe" resourceType="Either" requireAccess="Script" />
		</handlers>
		<staticContent>
			<remove fileExtension=".woff" />
			<!-- In case IIS already has this mime type -->
			<mimeMap fileExtension=".woff" mimeType="application/x-font-woff" />
			<remove fileExtension=".woff2" />
			<!-- In case IIS already has this mime type -->
			<mimeMap fileExtension=".woff2" mimeType="application/x-font-woff2" />
		</staticContent>
		<rewrite>
			<rules>
				<rule name="css-js-versioning" stopProcessing="true">
					<match url="^(.*)\.[\d]{10}\.(css|js)$"  />
					<action type="Rewrite" url="{R:1}.{R:2}"  />
				</rule>
				<rule name="Index">
					<match url="^(.*)$" />
					<conditions>
						<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
						<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
					</conditions>
					<action type="Rewrite" url="index.php/{R:1}" />
				</rule>
			</rules>
		</rewrite>
		<security>
            <requestFiltering removeServerHeader="true" />
            <!-- Removes Server header in IIS10 or later and also in Azure Web Apps -->
        </security>
	</system.webServer>
</configuration>