MikeNoLastName - 10:22 pm on Jan 11, 2012 (gmt 0)
Thanks for this thread, I was looking for exactly this code. A while back, we had a similar issue where apparently someone linked us incorrectly and ended up putting a period after the url resulting in www.example.com/abc.htm. and I believe also www.example.com/abc.htm/ both of which resolve apparently under apache, both were being indexed and both were causing definite duplication penalties. I fixed each incident with 301's when I found them (they usually come up in the supplemental results), but this is way better.