Hi, I'm trying to strip 'index.html' from incoming URLs with mod_rewrite. My current RewriteRule incarnation is: RewriteRule ^(.*)/index\.html$ $1/ However, watching my RewriteLog I see (stripped down and paraphrased for clarity): (3) add path info postfix: /document/root/foo -> /document/root/foo/index.html (3) strip per-dir prefix: /document/root/foo/index.html -> foo/index.html (3) applying pattern '^(.*)/index\.html$' to uri 'foo/index.html' (2) rewrite foo/index.html -> foo/ (3) add per-dir prefix: foo/ -> /document/root/foo/ (3) add path info postfix: /document/root/foo/ -> /document/root/foo//index.html (3) strip per-dir prefix: /document/root/foo//index.html -> foo//index.html [...] Looked good, until the "add path info postfix" part. Any way to prevent that? I've RTFM, and searched this list and elsewhere, but have come up empty. Thanks! Ian P.S. For the curious or perplexed... What I'm trying to do is migrate an existing site to WordPress. It dynamically generates further rewrite rules, such that my old "foo/index.html", rewritten by me to "foo/", would be further rewritten by WordPress to "index.php?page=foo", which is where the migrated content now resides. Of course with the "path info postfix" of "index.html" added back on WordPress' rules never match. I can't change WordPress' rules without hacking the code, which is presumably the long way around. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx