Welcome Guest, Not a member yet? Register   Sign In
Unable to remove index.php on IIS 10
#7

This is my web.config file.
Place it in the root, it's working for me with ISS with sql-server 2014 and 1016


Code:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <rewrite>
            <rules>
                <clear />
                <rule name="MainFolder" patternSyntax="Wildcard">
                    <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"/>
                </rule>
            </rules>
        </rewrite>
    </system.webServer>
</configuration>
Reply


Messages In This Thread
RE: Unable to remove index.php on IIS 10 - by snelledre - 10-08-2018, 11:51 AM



Theme © iAndrew 2016 - Forum software by © MyBB