浏览器中的URL任务 [英] URL Task in a browser
本文介绍了浏览器中的URL任务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如果我在浏览器网址中写"abc",那么它必须自动重定向到"http://www.abc.com"或"abc.com"那么它也必须http://www.abc.com
那么如何在.net或任何其他语言中做到这一点呢? br/>
这可以通过一些URL重写来完成. IIS 7及更高版本具有内置支持 [ URL重写器过去成功[ ^ ](免费).
干杯
Uwe
In the browser url if i write "abc" then it has to automatically redirect to the "http://www.abc.com" or "abc.com" then also it has to http://www.abc.com
so how to do that one in .net or any other language
解决方案
Probably you are talking about redirecting requests tohttp://abc.com
on your server tohttp://www.abc.com
.
This can be done by some URL rewriting. IIS 7 and higher has built-in support[^] for that, for IIS6, I used URL Rewriter[^] (free) in the past successfully.
Cheers
Uwe
这篇关于浏览器中的URL任务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文