Ver Mensaje Individual
  #1 (permalink)  
Antiguo 07/03/2017, 07:11
nfo
 
Fecha de Ingreso: octubre-2008
Ubicación: EsPaCiO TiEmPo
Mensajes: 408
Antigüedad: 15 años, 7 meses
Puntos: 5
Web.config a .htaccens

Buenas compañeros no se si es el sitio correcto, pero expongo mi duda.


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}&amp;data={R:4}" appendQueryString="false" />
                </rule>
            </rules>
        </rewrite>
				<security>
     	  	<requestFiltering allowDoubleEscaping="true" />
    		</security>
    </system.webServer>
</configuration>