从网址隐藏网页名称 [英] Hide page name from url

查看:74
本文介绍了从网址隐藏网页名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想隐藏网页名称来自asp.net中的网址c#

例如

普通网址是-http://localhost/myapp/login.aspx

i只需要-http:// localhost

解决方案

这个概念称为URL重写

试试这个:< br $> b $ b

http://msdn.microsoft.com /en-us/library/ms972974.aspx [ ^ ]


您好,



使用URL重写:

< a href =http://www.codeproject.com/Articles/2538/URL-Rewriting-with-ASP-NET>使用ASP.NET重写URL [ ^ ]

使用ASP.NET路由重写URL [ ^ ]

ASP.NET 2.0中的URL重写 [ ^ ]

IIS& ASP.Net URL重写 [ ^ ]

i want to hide page name from url in asp.net c#
e.g
normal url is-http://localhost/myapp/login.aspx
i want only-http://localhost

解决方案

This concept is known as URL Rewriting
Try this:

http://msdn.microsoft.com/en-us/library/ms972974.aspx[^]


Hi,

Use URL Rewriting:
URL Rewriting with ASP.NET[^]
URL rewriting using ASP.NET routing[^]
URL Rewriting in ASP.NET 2.0[^]
IIS & ASP.Net URL Rewriting[^]


这篇关于从网址隐藏网页名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆