Httpd.ini之Discuz!7.0(包含防盗链)
- [ISAPI_Rewrite]
- # 3600 = 1 hour
- CacheClockRate 3600
- RepeatLimit 32
- # Protect httpd.ini and httpd.parse.errors files
- # from accessing through HTTP
- RewriteRule ^(.*)/archiver/((fid|tid)-[0-9]+\.html)\?*(.*)$
- $1/archiver/index\.php\?$2&$4
- RewriteRule ^(.*)/forum-([0-9]+)-([0-9]+)\.html\?*(.*)$
- $1/forumdisplay\.php\?fid=$2&page=$3&$4
- RewriteRule ^(.*)/thread-([0-9]+)-([0-9]+)-([0-9]+)\.html\?*(.*)$
- $1/viewthread\.php\?tid=$2&extra=page\%3D$4&page=$3&$4
- RewriteRule ^(.*)/space-(username|uid)-(.+)\.html\?*(.*)$
- $1/space\.php\?$2=$3&$4
- RewriteRule ^(.*)/tag-(.+)\.html\?*(.*)$ $1/tag\.php\?name=$2&$3
- # 防盗链 #
- RewriteCond Host: (.+)
- RewriteCond Referer: (?!http://(?:83sun\.com|(.*)
- \.83sun\.com|baidu\.com|(.*)\.baidu\.com|google\.com|
- (.*).\google.com)).*
- RewriteRule .*\.
- (?:jpg|gif|rm|rmvb|wmv|mp3|wav|avi|swf|pdf|zip|rar|) /block.gif [I,O]
不知道写的对不对,请高手指点.在发点其他程序的就更好了.

还有人用 Discuz!吗?俺用 PHPWind 三年了。^_^
Discuz现在确实不如Phpwind(个人见解,勿批!)
在处理数据能力上,DZ已经完蛋了,测试负载能力还要看xx站,经过测试,pw优于dz.
我也同意你的说法.
没那么久吧?
补充一下,这个不能复制直接用.