Ver Mensaje Individual
  #5 (permalink)  
Antiguo 17/04/2015, 09:55
joepiano
 
Fecha de Ingreso: marzo-2015
Mensajes: 1
Antigüedad: 9 años, 1 mes
Puntos: 0
Respuesta: URLs Amigables .htacess vs web.config

Cita:
Resuleto!!

No si si es la manera correcta pero funciona!

Gracias por su tiempo!

<?xml version="1.0"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="RewriteUserFriendlyURL1" stopProcessing="true">
<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?s={R:1}" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
Fenomenal, soy nuevo en esto y todo me cuesta entender :) llevaba 1 semana sin poder hacer funcionar el archivo web.config en mi Hosting de godaddy, siempre me salía un error 500, con esto pude solucionarlo y Especificar caché de navegador con el el sgt código
<staticContent>
<clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="90.00:00:00" />
</staticContent>

Saludos Cordiales