.net中的URL重写 [英] URL Rewriting in .net

查看:106
本文介绍了.net中的URL重写的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我们有这样的当前.net页面结构,网址形成如下..



http://www.example.com/pages/login.aspx?q=1234



并希望将其转换为



http://www.example.com/login?q=1234



如何绕过网页目录,网址重写或过滤..



我们也想忽略这个规则,如 ashx / css / js / png / jpegs / axd 等...



任何帮助都将受到赞赏..

解决方案

一切您曾经想知道IIS / ASP.NET上的URL重写。视频甚至。



文章







论坛







视频




Hi all,

We have current .net page structure like this with URL forming like this..

http://www.example.com/pages/login.aspx?q=1234

and want to convert this to

http://www.example.com/login?q=1234

How to bypass Pages directory with url rewrite or filtering..

Also we would like to ignore this rule for files like ashx/css/js/png/jpegs/axd etc...

Any help would be appreciated ..

解决方案

Everything you ever wanted to know about URL rewriting on IIS/ASP.NET. Video even.

Articles




Forum




Video



这篇关于.net中的URL重写的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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