lucy24 - 6:49 am on Dec 12, 2012 (gmt 0)
Yes, lots of ways, but you haven't given enough information. What is supposed to happen? Where are those URLs with "index.php" in the middle coming from? What is the correct URL for pages with names in this form? Are you using a CMS that does any kind of behind-the-scenes rewriting? Or do you really have ::shudder:: pages named "stuff/index.php/morestuff"?
And didn't we only just get through the same question [webmasterworld.com]?
:: detour to check ::
Nope, we're OK, that was a different issue. At least I think it was.
In normal situations, "/index.xtn" only gets redirected to plain / when it comes at the end of the request. So your problem would never arise, because there would be an ending anchor in the Rule, and further restrictions in the Condition.