只需一步,快速开始
[ISAPI_Rewrite] # 3600 = 1 hour CacheClockRate 3600 RepeatLimit 32 # Protect httpd.ini and httpd.parse.errors files # from accessing through HTTP # Discuz4.10+5.0+5.5 Rewrite规则 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 ^(.*)/profile-(username|uid)-(.+)\.html\?*(.*)$ $1/viewpro\.php\?$2=$3&$4 RewriteRule ^(.*)/space-(username|uid)-(.+)\.html\?*(.*)$ $1/space\.php\?$2=$3&$4 # 防盗链 RewriteCond Host: (.+) RewriteCond Referer: (?!http://\1.*).* RewriteRule .*\.(?:gif|jpg|png) /block.gif [I,O] # SupeSite 3 Rewrite规则 # 独立主机用户,D5论坛与SS/XS规则已写好,规则适用于程序放在根目录和直接是用二域名访问的用户。 RewriteRule ^/([0-9]+)$ /index\.php\?uid/$1 [L] RewriteRule ^/([0-9]+)/spacelist(.+)$ /index\.php\?uid/$1/action/spacelist/type$2 [L] RewriteRule ^/([0-9]+)/viewspace(.+)$ /index\.php\?uid/$1/action/viewspace/itemid$2 [L] RewriteRule ^/([0-9]+)/viewbbs(.+)$ /index\.php\?uid/$1/action/viewbbs/tid$2 [L] RewriteRule ^/([0-9]+)/(.*)$ /index\.php\?uid/$1/$2 [L] RewriteRule ^/action(.+)$ /index\.php\?action$1 [L] RewriteRule ^/category(.+)$ /index\.php\?action/category/catid$1 [L] RewriteRule ^/viewnews(.+)$ /index\.php\?action/viewnews/itemid$1 [L] RewriteRule ^/viewthread-(.+)$ /index\.php\?action/viewthread/tid-$1 [L] RewriteRule ^/mygroup(.+)$ /index\.php\?action/mygroup/gid$1 [L] RewriteRule ^/index([\.0-9a-zA-Z]*)$ /index\.php [L]
使用道具 举报
原帖由 pc77maikongjian 于 2007-5-14 18:05 发表 我们有帮租服务器的客户配置过,没有发现楼主这样的问题。楼主仔细检查看看了
本版积分规则 发表回复 回帖后跳转到最后一页
手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )
GMT+8, 2024-11-19 12:20 , Processed in 0.032485 second(s), 3 queries , Gzip On, Redis On.
Powered by Discuz! X3.4
Copyright © 2001-2023, Tencent Cloud.