ISAPI_Rewrite有Full和Lite两个版本。Full是商业版,Lite是免费版。
经过反复测试,发现Lite版只读取安装目录下的httpd.ini文件,而不会读取每个网站根目录下的httpd.ini。
只有Full版才会读取网站根目录下的httpd.ini配置。
刚才到官网上仔细查了Lite版的介绍,才发现原来官网上早已说明,只是我以前没有发现而已。
为了方便其他朋友区分Lite版和Full版,我把Lite版的简介翻译写在下面:
| 原文 | 翻译 |
| Lite version of ISAPI_Rewrite shares the same rewrite engine and features but with the following limitations: | ISAPI_Rewrite的Lite版本使用(与Full版本) 相同的rewrite引擎和属性,但是有以下几点限制: |
|
|
配置。只有Lite版安装目录下的公用的httpd.conf (httpd.ini)配置文件会被读取。 |
|
|
、<Files>、<FilesMatch>、<Location> 和<LocationMatch>标签. |
|
|
关的函数例如RewriteProxy指令和[P]标签都将无效。 |
|
|
(这条看不太懂,翻译的可能不对) |
| ISAPI_Rewrite Lite is completely free and it is a good solution for development or testing purposes and for small servers that host only a few web sites and don’t require distributed configurations or proxy functions. | ISAPI_Rewrite Lite是完全免费的。如果只是以开发 或测试为目的,或者是一台仅有少量网站不需要分布配置 和代理功能的服务器,它将是一个很好的解决方案。 |