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/SBogers10/immoginis.komma.pro/wwwroot/web.config
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <system.webServer>
        <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>
        <rewrite>
            <rules>
                <rule name="Allow LetsEncrypt" patternSyntax="Wildcard" stopProcessing="true">
                    <match url=".well-known/acme-challenge/*" />
                    <action type="None" />
                </rule>
                <!--<rule name="AddWWW" stopProcessing="true">-->
                    <!--<match url="^(.*)$" />-->
                    <!--<conditions>-->
                        <!--<add input="{HTTP_HOST}" pattern="^(?!www\.)(.*)$" />-->
                    <!--</conditions>-->
                    <!--<action type="Redirect" url="http://www.{C:0}{PATH_INFO}" redirectType="Permanent" />-->
                <!--</rule>-->

<!--                <rule name="Redirect everything to" patternSyntax="Wildcard" stopProcessing="true">-->
<!--                    <match url="*" />-->
<!--                    <conditions logicalGrouping="MatchAny">-->
<!--                        <add input="{HTTP_HOST}" pattern="www.immoginis.be" negate="true" /> &lt;!&ndash; Check for with or without www &ndash;&gt;-->
<!--                        <add input="{HTTPS}" pattern="off" ignoreCase="true" /> &lt;!&ndash; Check for https &ndash;&gt;-->
<!--                    </conditions>-->
<!--                    <action type="Redirect" url="https://www.immoginis.be/{R:0}" /> &lt;!&ndash; Redirect to desired domain &ndash;&gt;-->
<!--                </rule>-->

                <rule name="Laravel4" 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>
      <httpErrors>
          <remove statusCode="403" subStatusCode="-1" />
          <error statusCode="403" prefixLanguageFilePath="" path="/index.php/404" responseMode="ExecuteURL" />
      </httpErrors>
      <handlers>
          <remove name="php-7.4" />
          <remove name="php-7.2" />
          <remove name="php-7.1" />
<!--          <remove name="php-5.6" />  = active PHP version  -->
      </handlers>
    </system.webServer>
</configuration>