本帖最后由 307991860 于 2009-12-24 15:24 编辑
Windows 2003操作系统IIS6.0
SS7.5 DZ7.2 UCH2.0
网站结构SS在主目录,DZ在BBS目录,UCHOME在HOME目录
httpd.ini的内容如下:- [ISAPI_Rewrite]
- # 3600 = 1 hour
- CacheClockRate 3600
- RepeatLimit 32
- # SupeSite Rewrite规则
- # 独立主机用户
- # 修改以下语句中的 /supesite 修改为你的SupeSite目录地址,如果程序放在根目录中,请将 /supesite 修改为 /
- 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]
- # UCHome Rewrite规则
- # 独立主机用户
- # 修改以下语句中的 /uchome 修改为你的uchome目录地址,如果程序放在根目录中,请将 /uchome 修改为 /
- RewriteRule ^/home/(space|network)-(.+)\.html$ /home/$1\.php\?rewrite=$2 [L]
- RewriteRule ^/home/(space|network)\.html$ /home/$1\.php [L]
- RewriteRule ^/home/([0-9]+)$ /home/space\.php\?uid=$1 [L]
- # Discuz! Rewrite规则
- # 独立主机用户
- # Protect httpd.ini and httpd.parse.errors files
- # from accessing through HTTP
- RewriteRule ^(.*)/bbs/archiver/((fid|tid)-[\w\-]+\.html)\?*(.*)$ $1/archiver/index\.php\?$2&$4
- RewriteRule ^(.*)/bbs/forum-([0-9]+)-([0-9]+)\.html\?*(.*)$ $1/forumdisplay\.php\?fid=$2&page=$3&$4
- RewriteRule ^(.*)/bbs/thread-([0-9]+)-([0-9]+)-([0-9]+)\.html\?*(.*)$ $1/viewthread\.php\?tid=$2&extra=page\%3D$4&page=$3&$4
- RewriteRule ^(.*)/bbs/space-(username|uid)-(.+)\.html\?*(.*)$ $1/space\.php\?$2=$3&$4
- RewriteRule ^(.*)/bbs/tag-(.+)\.html\?*(.*)$ $1/tag\.php\?name=$2&$3
复制代码 我的站点是www.rpwin.cn
全部没有开启二级域名,访问论坛要/BBS
我就十个金币,搞定的话全送,麻烦大家了,已经搞了一个上午了还是不行 |