回复 lidq.jingwu
将论坛的伪静态规则去掉,只保留家园的试一下。
lidq.jingwu 发表于 2010-4-21 14:49
我根本没有论坛,只用的UCHOME的规则
我是和我主站(www.so0371.com)一个分类信息系统整合的UC
主站也有伪静态
公用的
全部规则是
[ISAPI_Rewrite]
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
# Protect httpd.ini and httpd.parse.errors files
# from accessing through HTTP
RewriteRule ^(.*)/index\.html\?*(.*)$ $1/index.php
RewriteRule ^(.*)/info-page-([0-9]+)\/\?*(.*)$ $1/public/info\.php\?page=$2
RewriteRule ^(.*)/info-id-([0-9]+)\/\?*(.*)$ $1/public/info\.php\?id=$2
RewriteRule ^(.*)/info-catid-([0-9]+)-page-([0-9]+)\/\?*(.*)$ $1/public/info\.php\?catid=$2&page=$3
RewriteRule ^(.*)/info-catid-([0-9]+)-areaid-([0-9]+)-page-([0-9]+)\/\?*(.*)$ $1/public/info\.php\?catid=$2&areaid=$3&page=$4
RewriteRule ^(.*)/aboutus\/\?*(.*)$ $1/public/about\.php\?part=aboutus
RewriteRule ^(.*)/aboutus-id-([0-9]+)\/\?*(.*)$ $1/public/about\.php\?part=aboutus&id=$2
RewriteRule ^(.*)/announce-page-([0-9]+)\/\?*(.*)$ $1/public/about\.php\?part=announce&page=$2
RewriteRule ^(.*)/announce-id-([0-9]+)\/\?*(.*)$ $1/public/about\.php\?part=announce&id=$2
RewriteRule ^(.*)/faq\/\?*(.*)$ $1/public/about\.php\?part=faq
RewriteRule ^(.*)/faq-id-([0-9]+)\/\?*(.*)$ $1/public/about\.php\?part=faq&id=$2
RewriteRule ^(.*)/friendlink\/\?*(.*)$ $1/public/about\.php\?part=friendlink
RewriteRule ^(.*)/guestbook-page-([0-9]+)\/\?*(.*)$ $1/public/about\.php\?part=guestbook&page=$2
RewriteRule ^(.*)/space-([a-z,0-9\-]+)\/\?*(.*)$ $1/public/space\.php\?user=$2
[ISAPI_Rewrite]
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
# 本作品由服务器合租论坛提供技术支持: http://www.xinnethz.net
# DZ6.0/6.1论坛+UCHome Rewrite规则,针对可操作IIS用户,论坛与UCH可以共享使用此规则,两种情况如下:
# 1.如果程序放在二级目录中访问,请将以下语句中所有uchome修改为你的二级目录名字就可.
# 2.如果程序放在根目录中访问,请将以下语句中所有/uchome删除就可,最后都要保存修改重启IIS.
RewriteRule ^/(space|network)-(.+)\.html$ /love/$1\.php\?rewrite=$2 [L]
RewriteRule ^/(space|network)\.html$ /love/$1\.php [L]
RewriteRule ^/([0-9]+)$ /love/space\.php\?uid=$1 [L] |