How would I redirect requests to a URL like
http://www.mydomain.com/foo.aspx
to another URL like
http://www.mydomain.com/bar.aspx
in IIS.
Can this be done in IIS 6.0 or 7.0?
feedback
|
|
If you have an existing foo.aspx file then you can set a Location header to redirect to the new file/URL:
In IIS6, if the file exists, using the management snap-in, you can right-click to open the properties for the file and select to redirect to another location. In IIS7, you can use the Rewrite module to capture the request and redirect it. | |||
|
feedback
|
|
You can use URL Rewrite in IIS7.0. | |||
|
feedback
|