isapi-redirect

How to redirect a page in ISAPI_Rewrite

跟風遠走 提交于 2019-12-24 20:26:16
问题 I use ISAPI_Rewrite v2 and I have this rules: RewriteRule ^/cnvrt$ /convert [I,RP] RewriteRule ^/convert$ /convert.aspx [I,L] I want that whenever someone enter site.com/cnvrt it will redirect him to site.com/convert The problem with the above rule is that it just put a window that says the page can be found under this url: .... And what I want is to it redirect him to the page(that the url will change) I dont want to handle it in the code level. How can I do this? Thanks 回答1: This is a good

URL Redirection from a html page to an .aspx page

家住魔仙堡 提交于 2019-12-11 11:27:46
问题 I have a requirement where i have to use url redirection in my legacy web page (basically its a complete static html page). The requirement for me is to redirect the user everytime, from the static html page to a .aspx page i.e if my earlier page were found to be at http://web.vatsag.com/app/en/downloadsite.htm then i have to redirect to the following page (.aspx) http://web.vatsag.com/app/newdownloadsite.aspx I went through the following links, which talks mainly redirection w.r.t ASP.NET