.net中的URL重写 [英] URL Rewriting in .net
本文介绍了.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重写。视频甚至。
文章
- < a href =http://learn.iis.net/page.aspx/460/using-url-rewrite-module/title =iis.net>使用URL重写
- 使用URL Rewrite 2.0
- 创建重写规则
- 使用自定义重写提供程序进行URL重写
- 为URL重写开发自定义重写提供程序
- 创建URL Rew的出站规则礼貌
- 使用URL Rewrite 2.0和应用程序请求路由进行反向代理
- 使用出站规则插入Web Analytics跟踪代码
- 设置HTTP请求标头和服务器变量
- 修改HTTP响应标头
- SEO规则模板
- 用户友好的URL规则模板
- 反向代理规则模板
- 使用全局和分布式规则
- 使用重写地图
- 使用重写地图创建规则
- 要求阻止
- 测试重写规则模式
- 导入Apache mod_rewrite规则
- 在WordPress中启用漂亮的永久链接
- 使用失败的请求跟踪来跟踪重写规则
- URL重写模块配置参考
- URL重写2.0模块配置参考
论坛
视频
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
- Using URL Rewrite
- Using URL Rewrite 2.0
- Creating Rewrite Rules
- Using Custom Rewrite Providers with URL Rewrite
- Developing a Custom Rewrite Provider for URL Rewrite
- Creating Outbound Rules for URL Rewrite
- Reverse Proxy with URL Rewrite 2.0 and Application Request Routing
- Using Outbound Rules to Insert Web Analytics Tracking Code
- Setting HTTP Request Headers and Server Variables
- Modifying HTTP Response Headers
- SEO Rule Templates
- User Friendly URL Rule Template
- Reverse Proxy Rule Template
- Using Global and Distributed Rules
- Using Rewrite Maps
- Creating a Rule with Rewrite Map
- Request Blocking
- Testing Rewrite Rule Patterns
- Importing Apache mod_rewrite Rules
- Enabling Pretty Permalinks in WordPress
- Using Failed Request Tracing to Trace Rewrite Rules
- URL Rewrite Module Configuration Reference
- URL Rewrite 2.0 Module Configuration Reference
Forum
Video
这篇关于.net中的URL重写的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文