views:

25

answers:

0

Hello, I have a http redirect in iis7 to send request to another domain. If url is something like http://www.example.com/news/ it's ok but if i try http://www.example.com/news/?id=3 then get parametes is deleted from string it's redirects to the same http://www.example.com/news/. How to save get parameters in query string with iis7?

web.config:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <httpRedirect enabled="true" destination="http://www.example.com" exactDestination="false" httpResponseStatus="Permanent" />
    </system.webServer>
</configuration>