My app giving error (404 not found) when try access route:
$app->get('/test/', function () {
echo "Hello, World! test";
});
But is ok, when try access:
$app->get('/', function () {
echo "Hello, World!";
});
Need configure Allowoverride All ? how i can do it, using web.config IIS ?]
UPDATE.. i create web.config file with code: Not using htaccess now, only web.config.. but still not working
URL Rewrite Module Error.
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="slim" 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>