Discuz!官方免费开源建站系统

 找回密码
 立即注册
搜索

[已答复] uchome伪静态故障

[复制链接]
七夕情人 发表于 2009-11-17 18:32:50 | 显示全部楼层 |阅读模式
网站:http://sns.77lover.com/738

环境:独立主机,iis ;伪静态功能iis上已经设置成功,并且重启过iis服务。

httpd.ini文件如下:包含dz代码、exshop代码、uchome的伪静态代码

[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&$3
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 %{HTTP_HOST} www.shishangdao.net
RewriteRule ^(.*)/index.html$                $1/index.php          [I]                     
RewriteRule ^(.*)/category$                  $1/index.php          [I]
RewriteRule ^(.*)/feed-c([0-9]+).xml$        $1/feed.php?cat=$2    [I]
RewriteRule ^(.*)/feed-b([0-9]+).xml$        $1/feed.php?brand=$2 [I]
RewriteRule ^(.*)/feed.xml$                  $1/feed.php           [I]
RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)-min([0-9]+)-max([0-9]+)-attr([^-]*)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$        $1/category\.php?id=$2&brand=$3&price_min=$4&price_max=$5&filter_attr=$6&page=$7&sort=$8&order=$9 [I]
RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)-min([0-9]+)-max([0-9]+)-attr([^-]*)\.html$                                $1/category\.php?id=$2&brand=$3&price_min=$4&price_max=$5&filter_attr=$6                          [I]
RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$                                        $1/category\.php?id=$2&brand=$3&page=$4&sort=$5&order=$6                                          [I]
RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)-([0-9]+)(.*)\.html$                                                        $1/category\.php?id=$2&brand=$3&page=$4                                                           [I]
RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)(.*)\.html$                                                                $1/category\.php?id=$2&brand=$3                                                                   [I]
RewriteRule ^(.*)/category-([0-9]+)(.*)\.html$                                     $1/category\.php?id=$2                              [I]
RewriteRule ^(.*)/goods-([0-9]+)(.*)\.html$                                  $1/goods\.php?id=$2                                 [I]
RewriteRule ^(.*)/article_cat-([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$ $1/article_cat\.php?id=$2&page=$3&sort=$4&order=$5 [I]
RewriteRule ^(.*)/article_cat-([0-9]+)-([0-9]+)(.*)\.html$                   $1/article_cat\.php?id=$2&page=$3                   [I]
RewriteRule ^(.*)/article_cat-([0-9]+)(.*)\.html$                            $1/article_cat\.php?id=$2                           [I]
RewriteRule ^(.*)/article-([0-9]+)(.*)\.html$                                $1/article\.php?id=$2                               [I]
RewriteRule ^(.*)/brand-([0-9]+)-c([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)\.html   $1/brand\.php?id=$2&cat=$3&page=$4&sort=$5&order=$6 [I]
RewriteRule ^(.*)/brand-([0-9]+)-c([0-9]+)-([0-9]+)(.*)\.html                $1/brand\.php?id=$2&cat=$3&page=$4                  [I]
RewriteRule ^(.*)/brand-([0-9]+)-c([0-9]+)(.*)\.html                         $1/brand\.php?id=$2&cat=$3                          [I]
RewriteRule ^(.*)/brand-([0-9]+)(.*)\.html                                   $1/brand\.php?id=$2                                 [I]
RewriteRule ^(.*)/tag-(.*)\.html                                             $1/search\.php?keywords=$2                          [I]
RewriteRule ^(.*)/snatch-([0-9]+)\.html$                                      $1/snatch\.php?id=$2                                [I]
RewriteRule ^(.*)/group_buy-([0-9]+)\.html$



RewriteRule ^/(space|network)-(.+)\.html$ /$1\.php\?rewrite=$2 [L] RewriteRule ^/(space|network)\.html$ /$1\.php [L] RewriteRule ^/([0-9]+)$ /space\.php\?uid=$1 [L] # SupeV Rewrite规则 # 独立主机用户 RewriteRule ^(.*)/ivideo(-tv-([0-9]+))?(-ti-([0-9]+))?(-tc-([0-9]+))?(-page-([0-9]+))?\.html$ $1/ivideo\.php\?tv=$3&ti=$5&tc=$7&page=$9 RewriteRule ^(.*)/ispecial(-tv-([0-9]+))?(-ti-([0-9]+))?(-tc-([0-9]+))?(-page-([0-9]+))?\.html$ $1/ispecial\.php\?tv=$3&ti=$5&tc=$7&page=$9 RewriteRule ^(.*)/icategory\.html$ $1/icategory\.php RewriteRule ^(.*)/category-cid-([0-9]+)(-tag-([^-]*))?(-timelimit-([0-9]+))?(-orderlimit-([0-9]+))?(-page-([0-9]+))?\.html$ $1/category\.php\?cid=$2&tag=$4&timelimit=$6&orderlimit=$8&page=$10 RewriteRule ^(.*)/vspace-(mid|username)-(.+)\.html$ $1/vspace\.php\?$2=$3 RewriteRule ^(.*)/video-(vid|ivid)-(.+)\.html$ $1/video\.php\?$2=$3 RewriteRule ^(.*)/special-spid-([0-9]+)\.html$ $1/special\.php\?spid=$2
回复

使用道具 举报

五元超市 发表于 2009-11-17 18:40:44 | 显示全部楼层
有什么问题?
回复

使用道具 举报

 楼主| 七夕情人 发表于 2009-11-17 18:45:42 | 显示全部楼层
伪静态后网站打不开。
回复

使用道具 举报

 楼主| 七夕情人 发表于 2009-11-18 22:16:34 | 显示全部楼层
没有人给指点下吗?
回复

使用道具 举报

Popss 发表于 2009-11-19 00:21:01 | 显示全部楼层
规则确定没错?
发网站看看
回复

使用道具 举报

云天一 发表于 2009-11-19 10:36:17 | 显示全部楼层
规则没错 楼主的网站的伪静态格式的uchome网址也可以正常打开
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-9-15 22:46 , Processed in 0.118987 second(s), 14 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表