it is a pretty basic rewrite.
<rewrite>
<rules>
<clear />
<rule name="append .cfm" enabled="true"
stopProcessing="true">
<match url="^(.+)" />
<conditions logicalGrouping="MatchAll"
trackAllCaptures="false">
<add input="{REQUEST_FILENAME}"
pattern=".cfm" negate="true" />
<add input="{REQUEST_FILENAME}"
matchType="IsDirectory" negate="true" />
<add input="{REQUEST_FILENAME}"
matchType="IsFile" negate="true" />
</conditions>
<action type="Rewrite" url="{R:0}/index.cfm"
logRewrittenUrl="true" />
</rule>
</rules>
</rewrite>
all it does it make /some-folder/ info /some-folder/index.cfm
The logging is showing this....
REWRITE_ACTION Substitution="{R:0}index.cfm",
RewriteURL="/library/plant-industry/index.cfm", AppendQueryString="true",
LogRewrittenURL="true"
RULE_EVALUATION_END RuleName="append .cfm",
RequestURL="library/plant-industry/index.cfm", QueryString="",
StopProcessing="true", Succeeded="true"
URL_REWRITE_END RequestURL="/library/plant-industry/index.cfm"
This to me is saying that it is handling the url re-write correctly but i am
still getting an IIS 404 message. If i go to
"/library/plant-industry/index.cfm" directly in the browser i get my
coldfusion file loading
Steve