只需一步,快速开始
5.dz5.5iis服务器Rewrite规则 [ISAPI_Rewrite] # 3600 = 1 hour CacheClockRate 3600 RepeatLimit 32 # Protect httpd.ini and httpd.parse.errors files # from accessing through HTTP RewriteRule ^(.*)/archiver/([a-z0-9\-]+\.html)$ $1/archiver/index\.php\?$2 RewriteRule ^(.*)/forum-([0-9]+)-([0-9]+)\.html$ $1/forumdisplay\.php\?fid=$2&page=$3 RewriteRule ^(.*)/thread-([0-9]+)-([0-9]+)-([0-9]+)\.html$ $1/viewthread\.php\?tid=$2&extra=page\%3D$4&page=$3 RewriteRule ^(.*)/profile-(username|uid)-(.+)\.html$ $1/viewpro\.php\?$2=$3 RewriteRule ^(.*)/space-(username|uid)-(.+)\.html$ $1/space\.php\?$2=$3
RewriteEngine On RewriteBase / # Rewrite 系统规则请勿修改 RewriteRule ^archiver/([a-z0-9\-]+\.html)$ archiver/index.php?$1 RewriteRule ^forum-([0-9]+)-([0-9]+)\.html$ forumdisplay.php?fid=$1&page=$2 RewriteRule ^thread-([0-9]+)-([0-9]+)-([0-9]+)\.html$ viewthread.php?tid=$1&extra=page\%3D$3&page=$2 RewriteRule ^profile-(username|uid)-(.+)\.html$ viewpro.php?$1=$2 RewriteRule ^space-(username|uid)-(.+)\.html$ space.php?$1=$2 RewriteCond %{HTTP_REFERER} !^http://tygcs.net/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://tygcs.net$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.tygcs.net/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.tygcs.net$ [NC]
使用道具 举报
您需要 登录 才可以下载或查看,没有账号?立即注册
原帖由 Lovenus.cn 于 2007-3-13 15:15 发表 是不是因为是win主机???
本版积分规则 发表回复 回帖后跳转到最后一页
手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )
GMT+8, 2024-11-24 03:42 , Processed in 0.029773 second(s), 4 queries , Gzip On, Redis On.
Powered by Discuz! X3.4
Copyright © 2001-2023, Tencent Cloud.