您的位置:首页 > 其它

晕了,这个怎么弄额

2017-01-02 23:29 239 查看
我装ISAPI_Rewrite组件

装在 D:\伪静态组建

然后我把其中的httpd.ini和ISAPI_Rewrite.dll 复制到我的一个网站目录ISAPI_Rewrite下

并把httpd.ini的只读去掉了

并写了

[ISAPI_Rewrite]

# 3600 = 1 hour

CacheClockRate 3600

RepeatLimit 32

# Block external access to the httpd.ini and httpd.parse.errors files

RewriteRule /httpd(?:\.ini|\.parse\.errors).* / [F,I,O]

# Block external access to the Helper ISAPI Extension

RewriteRule .*\.isrwhlp / [F,I,O]

RewriteRule /news_([0-9,a-z]*).html /news.asp?id=$1

RewriteRule /news_display_([0-9,a-z]*).html /news_display.asp?id=$1

调试结果报错说:找不到网页

IIS的那组件已经加载了

我的IIS是本地的 所有默认网站下面放了好多网站源文件

我现在头都晕了 到底是我设置错了 还是那正则写错了啊

望高人指点 谢谢
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐