找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 2776|回复: 7

[已解决] dz2.5上传Rewrite规责,开启伪静态后 网页打不开

[复制链接]
发表于 2013-4-22 15:44:14 | 显示全部楼层 |阅读模式 来自 中国–广东–深圳–宝安区
dz2.5论坛上传Rewrite规责 开启伪静态 论坛后台URL静态化选项全部打勾后 出现帖子网页打不开 求解。


因为同时做了301定向。下面是我上传的Rewrite规责请各位帮忙看看问题在哪里谢谢。



Rewrite.rar (89.31 KB, 下载次数: 550)



发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;

如何回报帮助你解决问题的坛友,好办法就是点击帖子下方的评分按钮给对方加【金币】不会扣除自己的积分,做一个热心并受欢迎的人!

发表于 2013-4-22 15:46:08 | 显示全部楼层 来自 中国–河南
不知道你是 将 哪个 301到哪个  上的,设置伪静态后打不开 可能是你伪静态规则没放好,

建议你联系你空间商客服 帮你 设置一下伪静态规则

点评

Rewrite规责 是不是这个有问题  详情 回复 发表于 2013-4-22 16:12

评分

参与人数 1金币 +5 收起 理由
抢楼评分专号 + 5 很幸运,你获得了抢楼奖励!

查看全部评分

发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;

如何回报帮助你解决问题的坛友,好办法就是点击帖子下方的评分按钮给对方加【金币】不会扣除自己的积分,做一个热心并受欢迎的人!

回复 支持 反对

使用道具 举报

 楼主| 发表于 2013-4-22 16:12:46 | 显示全部楼层 来自 中国–广东–深圳–宝安区
天外飘仙 发表于 2013-4-22 15:46
不知道你是 将 哪个 301到哪个  上的,设置伪静态后打不开 可能是你伪静态规则没放好,

建议你联系你空间 ...

Rewrite规责     是不是这个有问题





1.png

点评

不要让我看你的规则!看规则没用!规则或许对!但你规则是否放好了 要让你空间商客服查看一下才知道! 我不清楚你的 规则要怎么放的  详情 回复 发表于 2013-4-22 16:25

发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;

如何回报帮助你解决问题的坛友,好办法就是点击帖子下方的评分按钮给对方加【金币】不会扣除自己的积分,做一个热心并受欢迎的人!

回复 支持 反对

使用道具 举报

 楼主| 发表于 2013-4-22 16:21:22 | 显示全部楼层 来自 中国–广东–深圳–宝安区

  1. <p> </p>
复制代码
  1. [ISAPI_Rewrite]

  2. CacheClockRate 3600

  3. RepeatLimit 32

  4. RewriteCond Host: ^0377new\.com$

  5. RewriteRule (.*) http\://www\.0377new\.com$1 [I,R]
  6. RewriteCond Host: ^bbs\.0377new\.com$

  7. RewriteRule (.*) http\://www\.0377new\.com$1 [I,R]
  8. #shopex
  9. #首页
  10. RewriteRule /index.html /index.php
  11. RewriteRule /default.html /index.php
  12. #商店公告
  13. RewriteRule /bulletin.html /index.php?gOo=article_list.dwt&acat=1
  14. RewriteRule /bulletin_([0-9]+).html /index.php?gOo=article_list.dwt&acat=1&p=$1
  15. #商品分类
  16. RewriteRule /catalog.html /index.php?gOo=goods_category.dwt
  17. #全部商品
  18. RewriteRule /list.html /index.php?gOo=goods_search_list.dwt
  19. RewriteRule /list_([0-9]+).html /index.php?gOo=goods_search_list.dwt&p=$1
  20. #会员中心
  21. RewriteRule /member.html /index.php?gOo=member_home.dwt
  22. #帮助中心与常见问题
  23. RewriteRule /faq.html /index.php?gOo=help.dwt&acat=2
  24. RewriteRule /faq_([0-9]+).html /index.php?gOo=help.dwt&acat=2&p=$1
  25. #安全交易
  26. RewriteRule /safe.html /index.php?gOo=help_safe.dwt
  27. #购买流程
  28. RewriteRule /howtobuy.html /index.php?gOo=help_buystep.dwt
  29. #如何付款
  30. RewriteRule /howtopay.html /index.php?gOo=help_send.dwt
  31. #联系我们
  32. RewriteRule /contactus.html /index.php?gOo=help_contact.dwt
  33. #关于我们
  34. RewriteRule /aboutus.html /index.php?gOo=help_copyright.dwt
  35. #顾客留言分页
  36. RewriteRule /feedback.html /index.php?gOo=shopbbs.dwt
  37. RewriteRule /feedback_([0-9]+).html /index.php?gOo=shopbbs.dwt&p=$1
  38. #友情链接
  39. RewriteRule /friendlink.html /index.php?gOo=linkmore.dwt
  40. #用户注册
  41. RewriteRule /register.html /index.php?gOo=register_1.dwt
  42. #忘记密码
  43. RewriteRule /lostpass.html /index.php?gOo=forget.dwt
  44. #商品详细页
  45. RewriteRule /product/([0-9]+).html /index.php?gOo=goods_details.dwt&goodsid=$1
  46. RewriteRule /product_([0-9]+).html /index.php?gOo=goods_details.dwt&goodsid=$1
  47. RewriteRule /([0-9]+)_([^.]*).html /index.php?gOo=goods_details.dwt&goodsid=$1
  48. #新闻详细页
  49. RewriteRule /article_([0-9]+).html /index.php?gOo=help_details.dwt&articleid=$1
  50. RewriteRule /message_([0-9]+).html /index.php?gOo=article_details.dwt&articleid=$1
  51. #分类详细列表
  52. RewriteRule /catalog_([0-9]+).html /index.php?gOo=goods_search_list.dwt&gcat=$1
  53. RewriteRule /catalog_([0-9]+)_([0-9]+).html /index.php?gOo=goods_search_list.dwt&gcat=$1&p=$2
  54. #收藏商品
  55. RewriteRule /addtofavorites_([0-9]+).html /index.php?gOo=addmembergoods.do&goodsid=$1
  56. #首页上的最新,推荐,特价商品
  57. RewriteRule /list_([a-zA-Z]+).html /index.php?gOo=goods_search_list.dwt>ype=$1
  58. RewriteRule /list_([a-zA-Z]+)_([0-9]+).html /index.php?gOo=goods_search_list.dwt>ype=$1&p=$2
  59. #ecshop
  60. RewriteRule ^(.*)/index.html    $1/index.php [I]
  61. RewriteRule ^(.*)/default.html  $1/index.php [I]
  62. RewriteRule ^(.*)/feed.xml      $1/feed.php [I]
  63. 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]
  64. RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)-([0-9]+)(.*)\.html$                   $1/category.php?id=$2&brand=$3&page=$4  [I]
  65. RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)(.*)\.html$                            $1/category.php?id=$2&brand=$3  [I]
  66. RewriteRule ^(.*)/category-([0-9]+)(.*)\.html$                                      $1/category.php?id=$2  [I]
  67. RewriteRule ^(.*)/goods-([0-9]+)(.*)\.html$  $1/goods.php?id=$2  [I]
  68. RewriteRule ^(.*)/article_cat-([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$  $1/article_cat.php?id=$2&page=$3&sort=$4&order=$5  [I]
  69. RewriteRule ^(.*)/article_cat-([0-9]+)-([0-9]+)(.*)\.html$                   $1/article_cat.php?id=$2&page=$3   [I]
  70. RewriteRule ^(.*)/article_cat-([0-9]+)(.*)\.html$                            $1/article_cat.php?id=$2   [I]
  71. RewriteRule ^(.*)/article-([0-9]+)(.*)\.html$  $1/article.php?id=$2  [I]
  72. 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]
  73. RewriteRule ^(.*)/brand-([0-9]+)-c([0-9]+)-([0-9]+)(.*)\.html               $1/brand.php?id=$2&cat=$3&page=$4 [I]
  74. RewriteRule ^(.*)/brand-([0-9]+)-c([0-9]+)(.*)\.html                        $1/brand.php?id=$2&cat=$3 [I]
  75. RewriteRule ^(.*)/brand-([0-9]+)(.*)\.html                                  $1/brand.php?id=$2 [I]

  76. RewriteRule ^(.*)/snatch-(.*)\.html     $1/snatch.php?id=$2 [I]
  77. RewriteRule ^(.*)/group_buy-(.*)\.html  $1/group_buy.php?act=view&id=$2 [I]
  78. #phpwind
  79. RewriteRule ^(.*)-htm-(.*)$ $1.php?$2
  80. RewriteRule ^(.*)simple/([a-z0-9\_]+\.html)$ $1/simple/index.php?$2
  81. #discuz
  82. RewriteRule ^(.*)/archiver/([a-z0-9\-]+\.html)$ $1/archiver/index\.php\?$2
  83. RewriteRule ^(.*)/forum-([0-9]+)-([0-9]+)\.html$ $1/forumdisplay\.php\?fid=$2&page=$3
  84. RewriteRule ^(.*)/thread-([0-9]+)-([0-9]+)-([0-9]+)\.html$ $1/viewthread\.php\?tid=$2&extra=page\%3D$4&page=$3
  85. RewriteRule ^(.*)/profile-(username|uid)-(.+)\.html$ $1/viewpro\.php\?$2=$3
  86. RewriteRule ^(.*)-htm-(.*)$ $1.php?$2
  87. RewriteRule ^(.*)simple/([a-z0-9\_]+\.html)$ $1/simple/index.php?$2
  88. RewriteRule ^(.*)/archiver/((fid|tid)-[\w\-]+\.html)\?*(.*)$ $1/archiver/index\.php\?$2&$4
  89. RewriteRule ^(.*)/forum-([0-9]+)-([0-9]+)\.html\?*(.*)$ $1/forumdisplay\.php\?fid=$2&page=$3&$4
  90. RewriteRule ^(.*)/thread-([0-9]+)-([0-9]+)-([0-9]+)\.html\?*(.*)$ $1/viewthread\.php\?tid=$2&extra=page\%3D$4&page=$3&$4
  91. RewriteRule ^(.*)/space-(username|uid)-(.+)\.html\?*(.*)$ $1/space\.php\?$2=$3&$4
  92. RewriteRule ^(.*)/tag-(.+)\.html\?*(.*)$ $1/tag\.php\?name=$2&$3

  93. #supsite/x-space
  94. RewriteRule ^(.*)/archiver/([a-z0-9\-]+\.html)$ $1/archiver/index\.php\?$2
  95. RewriteRule ^(.*)/forum-([0-9]+)-([0-9]+)\.html$ $1/forumdisplay\.php\?fid=$2&page=$3
  96. RewriteRule ^(.*)/thread-([0-9]+)-([0-9]+)-([0-9]+)\.html$ $1/viewthread\.php\?tid=$2&extra=page\%3D$4&page=$3
  97. RewriteRule ^(.*)/profile-(username|uid)-(.+)\.html$ $1/viewpro\.php\?$2=$3
  98. RewriteRule ^(.*)-htm-(.*)$ $1.php?$2
  99. RewriteRule ^(.*)simple/([a-z0-9\_]+\.html)$ $1/simple/index.php?$2
复制代码

发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;

如何回报帮助你解决问题的坛友,好办法就是点击帖子下方的评分按钮给对方加【金币】不会扣除自己的积分,做一个热心并受欢迎的人!

回复 支持 反对

使用道具 举报

 楼主| 发表于 2013-4-22 16:22:43 | 显示全部楼层 来自 中国–广东–深圳–宝安区
  1. #Start dznt URL Rewrite settings

  2.     RewriteRule ^(.*)/userinfo-([0-9]+)\.html$  $1/userinfo.aspx?userid=$2
  3.     RewriteRule ^(.*)/showforum-([0-9]+)\.html$  $1/showforum.aspx?forumid=$2
  4.     RewriteRule ^(.*)/showtopic-([0-9]+)\.html$  $1/showtopic.aspx?topicid=$2
  5.     RewriteRule ^(.*)/showforum-([0-9]+)-([0-9]+)\.html$  $1/showforum.aspx?forumid=$2&page=$3
  6.     RewriteRule ^(.*)/showtopic-([0-9]+)-([0-9]+)\.html$  $1/showtopic.aspx?topicid=$2&page=$3
  7.     RewriteRule ^(.*)/archiver/showforum-([0-9]+)\.html$  $1/archiver/showforum.aspx?forumid=$2
  8.     RewriteRule ^(.*)/archiver/showtopic-([0-9]+)\.html$  $1/archiver/showtopic.aspx?topicid=$2
  9.     RewriteRule ^(.*)/archiver/showtopic-([0-9]+)-([0-9]+)\.html$  $1/archiver/showtopic.aspx?topicid=$2&page=$3
  10.     RewriteRule ^(.*)/archiver/showforum-([0-9]+)-([0-9]+)\.html$  $1/archiver/showforum.aspx?forumid=$2&page=$3
  11.     RewriteRule ^(.*)/tools/rss-([0-9]+)\.html$  $1/tools/rss.aspx?forumid=$2
  12.     RewriteRule ^(.*)/tools/spacerss-([0-9]+)\.html$  $1/tools/rss.aspx?uid=$2&type=space
  13.     RewriteRule ^(.*)/tools/photorss-([0-9]+)\.html$  $1/tools/rss.aspx?uid=$2&type=photo
  14.     RewriteRule ^(.*)/space\/((\w|\s)+)((\/?))?$  $1/space/index.aspx?user=$2
  15.     RewriteRule ^(.*)/space\/((\w|\s|-)+)((\/?))?\?((.*)+)$  $1/space/index.aspx?user=$2&$6

  16.     RewriteRule ^(.*)/showdebate-([0-9]+)\.html$  $1/showdebate.aspx?topicid=$2
  17.     RewriteRule ^(.*)/showbonus-([0-9]+)\.html$  $1/showbonus.aspx?topicid=$2

  18.     RewriteRule ^(.*)/postgoods-(\d+)*.html$  $1/postgoods.aspx?categoryid=$2
  19.     RewriteRule ^(.*)/showgoodslist-(\d+)(-(\d+))?.html$  $1/showgoodslist.aspx?categoryid=$2&page=$4
  20.     RewriteRule ^(.*)/showgoods-(\d+)*.html$  $1/showgoods.aspx?goodsid=$2

  21. #End dznt URL Rewrite settings

  22. #Start dvphp URL Rewrite settings 动网PHP版本

  23.     RewriteRule ^(.*?\/)(?:forum)-([-0-9]+)\/?$ $1index.php?__is_iis_rewrite=1&__rewrite_arg=$2
  24.     RewriteRule ^(.*?\/)(?:board)-([-0-9]+)\/?$ $1dispbbs.php?__is_iis_rewrite=1&__rewrite_arg=$2
  25.     RewriteRule ^(.*?\/)([_a-zA-Z]+)-([-0-9]+)\/?$ $1$2.php?__is_iis_rewrite=1&__rewrite_arg=$3
  26.     RewriteRule ^(.*?(?:index|dv_forum|dispbbs))-([-0-9]+)\.html$ $1.php?__is_iis_rewrite=1&__rewrite_arg=$2
  27. #End dvphp URL Rewrite settings

  28. #uchome

  29. RewriteRule ^(.*)/(space|network)-(.+)\.html$ $1/$2\.php\?rewrite=$3 [L]

  30. RewriteRule ^(.*)/(space|network)\.html$ $1/$2\.php [L]
  31. RewriteRule ^(.*)/([0-9]+)$ $1/space\.php\?uid=$2 [L]
  32. RewriteRule ^(.*)/archiver/((fid|tid)-[0-9]+\.html)\?*(.*)$ $1/archiver/index\.php\?$2&$4

  33. #end uchome

  34. #星云文章系统

  35. RewriteRule /article/(\d+)\.html /article/show\.asp\?id=$1 [N,I]
  36. RewriteRule /article/(\d+)_(\d+)\.html /article/show\.asp\?id=$1&page=$2 [N,I]
  37. RewriteRule /article/list_(\d+)_(\d+)\.html /article/list\.asp\?page=$1&classid=$2 [N,I]

  38. #下载频道
  39. RewriteRule /soft/(\d+)\.html /soft/show\.asp\?id=$1 [N,I]
  40. RewriteRule /soft/down_(\d+)\.html /soft/softdown\.asp\?softid=$1 [N,I]
  41. RewriteRule /soft/dl(\d+)\.html /soft/softdown\.asp\?softid=$1 [N,I]
  42. RewriteRule /soft/list_(\d+)_(\d+)\.html /soft/list\.asp\?page=$1&classid=$2 [N,I]

  43. #动画频道
  44. RewriteRule /flash/(\d+)\.html /flash/show\.asp\?id=$1 [N,I]
  45. RewriteRule /flash/list_(\d+)_(\d+)\.html /flash/list\.asp\?page=$1&classid=$2 [N,I]

  46. #星云文章系统

  47. #动网-asp ------------取消index.htm的转发,以免冲途!!
  48. RewriteRule ^(.*)/host_(\d+)\.htm $1/host_1\.asp\?id=$2 [N,I]
  49. RewriteRule ^(.*)/index_(\d+)\.htm $1/index\.asp\?boardid=$2 [N,I]
  50. RewriteRule ^(.*)/dispbbs_(\d+)\_(\d+).htm $1/dispbbs\.asp\?boardid=$2&id=$3 [N,I]
  51. #RewriteRule ^(.*)/index\.htm $1/index\.asp [N,I]
  52. RewriteRule ^(.*)/boardhelp_(\d+)\.htm $1/boardhelp\.asp\?boardid=$2 [N,I]
  53. RewriteRule ^(.*)/login\.htm $1/login\.asp [N,I]
  54. RewriteRule ^(.*)/usermanager\.htm $1/usermanager\.asp [N,I]
  55. RewriteRule ^(.*)/query_(\d+)\.htm $1/query\.asp\?boardid=$2 [N,I]
  56. RewriteRule ^(.*)/show_(\d+)\.htm $1/show\.asp\?boardid=$2 [N,I]
  57. RewriteRule ^(.*)/reg\.htm $1/reg/.asp [N,I]
  58. RewriteRule ^(.*)/boardpermission_(\d+).htm $1/boardpermission\.asp\?boardid=$2 [N,I]
  59. RewriteRule ^(.*)/plus_tools_center\.htm $1/plus_tools_center\.asp [N,I]
  60. RewriteRule ^(.*)/bokeindex\.htm $1/bokeindex\.asp [N,I]
  61. RewriteRule ^(.*)/site_map\.htm $1/index\.asp\?issearch_a=1 [N,I]
  62. RewriteRule ^(.*)/lostpass\.htm $1/lostpass\.asp [N,I]
  63. RewriteRule ^(.*)/dispbbs_(\d+)_(\d+)_(\d+).htm $1/dispbbs\.asp\?boardid=$2&id=$3&page=$4 [N,I]
  64. RewriteRule ^(.*)/dispuser_(\d+)\.htm $1/dispuser\.asp\?id=$2 [N,I]
  65. RewriteRule ^(.*)/dispbbs_(\d+)_(\d+)_(\d+).htm $1/dispbbs\.asp\?boardid=$2&di=$3&replyid=$4  [N,I]
  66. RewriteRule ^(.*)/dispuser_(\d+).htm $1/dispuser\.asp\?name=$2 [N,I]
  67. RewriteRule ^(.*)/dispbbs_(\d+)_(\d+)_(\d+)_(\d+).htm $1/dispbbs\.asp\?boardid=$2&id=$3replyid=$4&skin=$5 [N,I]
复制代码

发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;

如何回报帮助你解决问题的坛友,好办法就是点击帖子下方的评分按钮给对方加【金币】不会扣除自己的积分,做一个热心并受欢迎的人!

回复 支持 反对

使用道具 举报

发表于 2013-4-22 16:25:29 | 显示全部楼层 来自 中国–河南
shenmw 发表于 2013-4-22 16:12
Rewrite规责     是不是这个有问题

不要让我看你的规则!看规则没用!规则或许对!但你规则是否放好了  要让你空间商客服查看一下才知道!

我不清楚你的 规则要怎么放的

发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;

如何回报帮助你解决问题的坛友,好办法就是点击帖子下方的评分按钮给对方加【金币】不会扣除自己的积分,做一个热心并受欢迎的人!

回复 支持 反对

使用道具 举报

发表于 2013-4-22 17:02:15 | 显示全部楼层 来自 中国–广东–深圳
用第一推试试吧!

点评

什么意思?  详情 回复 发表于 2013-4-22 17:16

发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;

如何回报帮助你解决问题的坛友,好办法就是点击帖子下方的评分按钮给对方加【金币】不会扣除自己的积分,做一个热心并受欢迎的人!

回复 支持 反对

使用道具 举报

 楼主| 发表于 2013-4-22 17:16:39 | 显示全部楼层 来自 中国–广东–深圳
联创社蔡林芮 发表于 2013-4-22 17:02
用第一推试试吧!

什么意思?

发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;

如何回报帮助你解决问题的坛友,好办法就是点击帖子下方的评分按钮给对方加【金币】不会扣除自己的积分,做一个热心并受欢迎的人!

回复 支持 反对

使用道具 举报

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

本版积分规则 需要先绑定手机号

关闭

站长推荐上一条 /1 下一条

QQ|侵权投诉|广告报价|手机版|小黑屋|西部数码代理|飘仙建站论坛 ( 豫ICP备2022021143号-1 )

GMT+8, 2024-7-2 19:56 , Processed in 0.044834 second(s), 8 queries , Redis On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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