请教大牛:1.要实现IIS伪静态是否非得要装IIS Rewrite组件?2.能否在本地文件夹内添加一个httpd.ini的规则进行重写??
我写的一个测试例子:
//test.php
<?php echo $_REQUEST["title"];
?>规则是:
httpd.ini[ISAPI_Rewrite]
CacheClockRate 3600
RepeatLimit 32
RewriteEngine On
RewriteRule /(.*).html \$test.php?title=$1无法实现重写!请指教!

解决方案 »

  1.   

    1、实现 url Rewrite 要装IIS Rewrite组件
    2、httpd.ini 只在正式版(付费的)中可用
    简版(免费的)只能通过它的控制面板设置规则
      

  2.   

    还有再帮我看看这个例子吧,无法实现了。
    httpd.ini:
    [ISAPI_Rewrite]
    CacheClockRate 3600
    RepeatLimit 32
    RewriteEngine On
    RewriteRule /([0-9a-z]+)\.html /test\.php\?title=$1test.php:
    <?php echo $_REQUEST["title"];
    ?>输入:http://localhost/ewq231.html规则也添加了,怎么不显示呢,找不到网页。问题有可能出现在哪呢?
      

  3.   

    http.conf 有用 httpd.ini 无效