DentonDIS
asked on
IIS URLRewrite
Is it possible to redirect http://server1/folder1 to http://server2/folder1 using URLRewrite if we do not have "folder1" on the server1 and we do not want to create it?
If that is possible, could you tell me to achieve it with URLRewrite?
Thanks,
Budj
If that is possible, could you tell me to achieve it with URLRewrite?
Thanks,
Budj
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I decided to use a different way.
to:
http://MySite/article.aspx?id=342&title=some-article-title.
You still have to write the article.aspx page to query the database to retrieve the article.
What you want is some sort of redirect. You can either trap the 404 error on a custom page, or have a handler that redirects the user to the new page.
Another possibility would be to use the Server.Transfer to have the alternate URL render the page contents without having the client redirect to the other server (i.e. the client will still think you are on server1)