URL重写模块并不知道处理器实际处理URL重写的任何内容。
The URL-rewriting module does not know anything about what handler will eventually process the rewritten URL.
处理程序必须调用超类中的方法而是重写模块中的方法(如清单9所示)。
It is essential that the handler invoke methods in the superclass rather than methods in the overriding module (see Listing 9).
URL重写模块可以根据域名、HTTP标头和服务器变量进行重写判断。
The URL-rewrite module can make rewriting decisions based on domain names, HTTP headers, and server variables.
即使我们必须改变它总是好到要写在我们自己自定义的几个代码重写模块。
Even though we have to change just a few code it is always better to to write in our own custom rewrite module.
IISURL重写模块能够用于任何类型的Web应用程序,包括ASP.NET,PHP,ASP和静态文件。
The IIS URL-rewrite module can be used with any type of Web application, which includes ASP.NET, PHP, ASP, and static files.
在用于应用程序池方面,不管是集成的还是经典的IIS管道模式,IISURL重写模块的工作方式都是相同的。
The IIS URL-rewrite module works the same way regardless of whether integrated or classic IIS pipeline mode is used for the application pool.
那么,应该何时在HTTP模块中执行URL重写?
So, when should URL rewriting be performed in an HTTP module?
为了充分利用XSLT 2.0的语法和特性,必须为可能需要修改整个设计和重写大部分样式表模块作好准备。
To take full advantage of XSLT 2.0 syntax and features, it is necessary to plan, possibly change the whole design, and probably rewrite most of your stylesheet modules.
也就是说,如果url需要重写,该操作将在任何一个内置HTTP模块运行后执行。
That means that if the URL needs to be rewritten, it will have done so by the time any of the built-in HTTP modules run.
如果全部用2.0重写过于激进,那么次佳的选项就是将大部分样式表模块转换到2.0并重用一些1.0模块。
If a complete rewrite to 2.0 seems too drastic, then the next best option is to convert most of your stylesheet modules to 2.0 and reuse some 1.0 modules.
因此,如果您依赖于Windows身份验证和文件授权,您可能希望为url重写使用HTTP模块方法。
So, if you rely on Windows authentication and file authorization, you will want to use the HTTP module approach for URL rewriting.
要在ASP.NET中实现url重写,需要创建HTTP模块或HTTP处理程序,以便完成以下操作。
To implement URL rewriting in ASP.NET, then, we need to create an HTTP module or HTTP handler that.
选项3:建立2.0孤岛或者重写需要全面修订的模块。
Option 3: Institute 2.0 islands or rewrite modules that need overhaul.
RewriterUtils是一个helper类,此类将提供一对由URL重写HTTP模块和 HTTP处理程序使用的静态方法。
RewriterUtils is a helper class that provides a couple of static methods used by both the URL rewriting HTTP module and HTTP handler.
可以使用指定的IO模块重写任何url,从而通过内置的HomepageAjax代理重新路由Ajax请求。
The IO module specified can be used to rewrite any URL to reroute the AJAX requests through the build-in Home page AJAX proxy.
首先,您需要在Web . config文件中指明要使用HTTP模块还是HTTP处理程序来执行url重写。
First, you'll need to indicate in the Web.config file if you want perform URL rewriting with the HTTP module or the HTTP handler.
mod - rewrite模块并不局限于重写url。
可以在HTTP模块或HTTP处理程序中重写url。
URLs can be rewritten either in an HTTP module or an HTTP handler.
可以轻松地将URl重写配置为使用HTTP模块或HTTP处理程序。
URL rewriting can be easily configured to use an HTTP module or an HTTP handler.
一个常见错误是忘了启用用于重写规则的模块。
One common mistake is to forget to enable the module for rewrite rules. Before you can use the rewrite rules, you must uncomment this line.
如果'url重写'模块安装并激活了,那么相册及图片的URL地址就会变得简洁美观。
If the 'URL rewrite' module is installed and active, URLs for your albums and images will be much shorter and nicer.
您也可以在模块级别声明全局命名空间,这会重写项目级全局命名空间。
You can also declare global namespaces at the module level, which overrides the project-level global namespaces.
完全重写采购和销售模块。
这 样的操作系统只重写机制模块就可以与策略模块结合,移植 到新的系统上。
Such an OS can be ported to a new computer system by rewriting the mechanisms module for the new system, and integrating it with the policy module.
这 样的操作系统只重写机制模块就可以与策略模块结合,移植 到新的系统上。
Such an OS can be ported to a new computer system by rewriting the mechanisms module for the new system, and integrating it with the policy module.
应用推荐