I'm new to IIS7 as well as the URL Rewrite module. We are porting a website from PHP to ASP.NET and wanted to keep a lot of the existing links intact for SEO purposes.
The PHP developer had all of this pages laid out in the following format:
index.php, index.php?page=about, index.php?page=about&subpage=contactus, etc...
I have a bunch of rewrite rules that handle all of the sub pages that go to my corresponding ASP.Net pages, and have a rule that sends index.php -> /, but I have a weird issue where all of the index.php?* pages work fine, but when you request index.php (without any querystring params), it will occasionally return the content of a corresponding index.php?* page.
In other words, it seems like IIS or the URL Rewrite Module caches the page output of index.php no matter what the querystring is, so that when you call just index.php without any querystring, you will sometimes get the wrong page. For example, I'll call index.php hoping to get my home page, but I will sometimes get the About Us page.
Does anyone have any ideas what's going on?