/*
? 版权说明:转帖时,请保留以下完整信息
? 作者:Dili J.F. Senders
? 邮件:diliatwellknow.net
? 网站:http://12986.com
? 更新:20041015
? 支持:http://cs.12986.com
? 更多:http://12986.com/n989c26.aspx
*/
很高兴,成功将DVBBS模拟成静态HTML页面
isapi_rewrite已经成功安装了
http://12986.com/n989c26.aspx
采用的是http://www.helicontech.com/download/#isapi_rewrite
安装的方法极为简单:
1.下载并安装:
Full Version (free 30-day trial included) | isapi_rwf_0046.msi |
2.把所生成的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/(/d+)/.html /news/news/.php/?id=$1 [N,I]
RewriteRule /bbs/(/d+)/.html /bbs/list/.asp/?boardid=$1 [N,I]
#/bbs/list.asp?boardid=2
#这样就把 http://www.chedong.com/news/234.html
#映射到了 http://www.chedong.com/news/news.php?id=234
3.保存所作的修改并退出
4.在IE浏览器上输入:http://221.5.116.61/bbs/2.html(注:个人主机,并不长期有效),即可!
5.以上过程,在W2K3+IIS 6.0+ISAPI_Rewrite 2.5 build 46下通过
如有任何问题和建议,请登录http://cs.12986.com
不过,论坛里的很多URL要重新识别,也是一个很大的工作量.
想在此,结交一些这方面的朋友