Olá Pessoal,
Eu estou com um problema com URL amigável, quando eu acesso meu site http://localhost/painel/login
Aparece:
500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed.
Ai eu tentei utilizar esse código
<configuration> <system.webServer> <rewrite> <rules> <rule name="RewriteUserFriendlyURL1" stopProcessing="true"> <match url="^login$" /> <conditions> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="pages/login.php" /> </rule> </rules> </rewrite> </system.webServer> </configuration>
Mas não estou conseguindo configurar para utilizar a página login