Estoy intentando pasar este web.config a .htaccens y no consigo, me da errores. a ver si me echais una mano
Código:
<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <directoryBrowse enabled="false" /> <rewrite> <rules> <remove name="regla barra" /> <remove name="Regla 1 importada" /> <rule name="regla barra admin" stopProcessing="true"> <match url="(.*)/$" /> <conditions> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> </conditions> <action type="Redirect" url="{R:1}" /> </rule> <rule name="Regla 2 importada" stopProcessing="true"> <match url="^(([^/]+))?(([^/]+))?$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?action={R:2}&data={R:4}" appendQueryString="false" /> </rule> </rules> </rewrite> <security> <requestFiltering allowDoubleEscaping="true" /> </security> </system.webServer> </configuration>