URL Rewrite Module 2.0 is being used in this project, so you need to install it on your deploy server, please try the following steps:
  1. Download URL Rewrite Module 2.0 http://www.iis.net/downloads/microsoft/url-rewrite
  2. Install the Downloaded Application
  3. Copy the following lines to the system.webServer section in your web.config file:
    <rewrite>
            <rules>
                <rule name="Query Params">
                    <match url="(.+)" />
                    <conditions logicalGrouping="MatchAll" trackAllCaptures="false">
                        <add input="{REQUEST_URI}" pattern="(.+)\?" />
                    </conditions>
                    <action type="Rewrite" url="{C:1}.aspx" />
                </rule>
            </rules>
        </rewrite>

You can visit the links below for more detail about this module:
http://www.iis.net/learn/extensions/url-rewrite-module/url-rewrite-module-configuration-reference#UsingServerVars

Last edited Sep 20, 2012 at 8:28 AM by hwangzhiming, version 5

Comments

No comments yet.