很高兴,成功将DVBBS模拟成静态HTML页面

王朝asp·作者佚名  2006-01-09
窄屏简体版  字體: |||超大  

/*

? 版权说明:转帖时,请保留以下完整信息

? 作者:Dili J.F. Senders

? 邮件:diliatwellknow.net

? 网站:中国工商网 http://www.12986.com

? 更新:20041015

? 支持:http://www.12986.com/bbs/

? 更多:http://www.12986.com/n989c26.aspx

*/

很高兴,成功将DVBBS模拟成静态HTML页面

isapi_rewrite已经成功安装了

screen.width-500)this.style.width=screen.width-500;" align=absMiddle border=0http://www.12986.com/n989c26.aspx

好高兴,终于成功了:http://221.5.116.61/bbs/2.html

在此,一定要谢谢车东:http://www.chedong.com/tech/google_url.html

采用的是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下通过

如有任何问题和建议,请登录/bbs/

不过,论坛里的很多URL要重新识别,也是一个很大的工作量.

想在此,结交一些这方面的朋友

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
© 2005- 王朝網路 版權所有 導航