By default IIS redirects to a given domain and/or application.
The web page and query string can be transferred to the destination url by using the respective parameters $S and $Q.
Ex.
template: http://example.com$S$Q
redirection from
http://old-example.com/default.aspx?id=1
will lead to
http://example.com/default.aspx?id=1
In IIS 6 the checkbox "Exact Url" will avoid appending the web page to the query string.
0 коментара:
Post a Comment