终于把ISAPI_Rewrite配置好了

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引擎和属性,但是有以下几点限制:
  • No support for distributed .htaccess configurations, directory and web site level configurations. Only one global httpd.conf configuration file will be loaded from Lite version installation folder.
  • 不支持分布式的.htaccess配置、目录和站点级
    配置。只有Lite版安装目录下的公用的httpd.conf
    (httpd.ini)配置文件会被读取。
  • No support for <VirtualHost>, <Directory>, <DirectoryMatch>, <Files>, <FilesMatch>, <Location> and <LocationMatch> tags.
  • 不支持<VirtualHost>、<Directory>、<DirectoryMatch>
    、<Files>、<FilesMatch>、<Location> 和<LocationMatch>标签.
  • There is no proxy module in Lite version, thus all proxy related functions like RewriteProxy directive and [P] flag will be ignored.
  • Lite版本中不包含代理模块,所以所有与代理有
    关的函数例如RewriteProxy指令和[P]标签都将无效。
  • No manual installation package for Lite version to install in a shared hosting environment.
  • 没有为Lite版安装在共享主机环境中的文档安装包
    (这条看不太懂,翻译的可能不对)
  • 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是完全免费的。如果只是以开发
    或测试为目的,或者是一台仅有少量网站不需要分布配置
    和代理功能的服务器,它将是一个很好的解决方案。

    发表评论


    注意 - 你可以用以下 HTML tags and attributes:
    <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>