

Windows2003下IIS6.0的伪静态组件安装和伪静态配置方法
1、下载iis 伪静态 ISAPI_Rewrite_full v2.9 完整注册版(带注册码非破解版)
2、将下载文件解压安装,安装过程中你可以自己选择安装目录,我是安装在C:\ISAPI_Rewrite\ISAPI_Rewrite中
3、安装完成后打开ISAPI_Rewrite目录中ISRWConfig.exe,输入SN中注册序列号。
4、设置ISAPI_Rewrite目录权限
权限说明:
Administrators 和 SYSTEM 全部权限
IIS_WPG 读取和运行/读取
5、打开IIS管理器,点击左边菜单里的[Web 服务扩展],然后选中右边web 服务扩展中的[所有未知 ISAPI 扩展],再点[允许]按钮
6、找到httpd.ini文件,点击右键将文件只读属性去掉。
7、把httpd.ini文件的内容用以下内容替代
[ISAPI_Rewrite]
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
# Protect httpd.ini and httpd.parse.errors files
# from accessing through HTTP
RewriteRule ^(.*)-htm-(.*)$ $1.php\?$2
RewriteRule ^(.*)/u/([0-9]+)$ $1/u\.php\?uid=$2
RewriteRule ^(.*)/simple/([a-z0-9\_]+\.html)$ $1/simple/index.php?$2
RewriteRule .*(?:global.asa|default\.ida|root\.exe|\.\.).* . [F,I,O]
RewriteRule ^(.*)commtopics-(\d+)-(.*) $1/thread.php?fid=$2&page=$3
RewriteRule ^(.*)commtopics-(.*) $1/thread.php?fid=$2&page=$3
8、按下图配置
Windows2003下IIS6.0的伪静态组件安装和伪静态配置方法