【www.bbyears.com--系统相关】
1、首页将“rewrite.rar”这个文件解压下来,比如说我把它放到D盘的根目录下
2、打开IIS管理器,选择网站右键——属性——ISAPI筛选器——添加——输入名称,选择DLL文件路径——确定,这IIS这里就设置好啦
3、接下来就是httpd.ini文件的配置了 [ISAPI_Rewrite]代码如下 # 3600 = 1 hour CacheClockRate 3600 RepeatLimit 32 # Protect httpd.ini and httpd.parse.errors files # from accessing through HTTP RewriteRule ^/index.html$ /index.asp RewriteRule ^/index.html$ /index.php 4、将httpd.ini文件放到网站根目录下,在地址栏输入如:http://localhost/index.html看是否可以了?
友情提示:上面的ISS伪静态配置截图不iis6哦,如果是iis7或更高版本的估计有一点区别了,在此我也没测试过所以不介绍了,不过这个在iis6是非常好用的,主要是下载Rewrite.dll文件然后加isapi即可。