views:

366

answers:

0

Hi,

I am trying to use IIS7're URL Rewrite module to have my domain root page displayed as http://www.gulfdine.com instead of gulfdine.com/default.aspx.

To do this, I created a rule in the Rewrite module as shown below:

    <rule name="Default Document" stopProcessing="true">
      <match url="(.*)default.aspx" />
      <action type="Redirect" url="{R:1}" redirectType="Permanent" />
    </rule>

This works, and the page is correctly displayed. The problem is that postbacks no longer work! If I do a postback by clicking on a button, nothing happens!

Any ideas what might be happening?