Eliminando index.cfm de url con la configuración web
pregunta rápida -
Actualmente mis URL se parecen a esto:index.cfm/camp/another-test
Me gustaría que se vieran así:camp/another-test
Puedo hacer esto bien en Apache con mi .htaccess pero necesito poder hacerlo en iis7 con web.config. Aquí está mi reescritura hasta ahora:
<rewrite>
<rules>
<rule name="Remove index.cfm" enabled="true">
<match url="^(.*)$" ignoreCase="true" />
<conditions logicalGrouping="MatchAll">
<add input="{SCRIPT_NAME}" negate="true" pattern="^/(assets|files|miscellaneous|robots.txt|favicon.ico|sitemap.xml|index.cfm)($|/.*$)" />
</conditions>
<action type="Rewrite" url="/index.cfm/{R:1}" />
</rule>
</rules>
</rewrite>
¡Gracias por la ayuda!