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

 找回密码
 立即注册
搜索

添加静态后不支持数字目录

[复制链接]
fyhac 发表于 2007-6-15 18:06:35 | 显示全部楼层 |阅读模式
所有域名添加数字目录都不能访问例如  www.xxxxx.com/372141/3.jpg  不能访问,换成 www.xxxx.com/372141a/3.jpg
带有一个字母却可以访问 之前正常但添加了静态后数字目录却无法访问,下面是规则麻烦大虾门指教下
环境IIS6 PHP5.2 MYSQL5.0.18
  1. [ISAPI_Rewrite]

  2. # 3600 = 1 hour
  3. CacheClockRate 3600

  4. RepeatLimit 32

  5. # Protect httpd.ini and httpd.parse.errors files
  6. # from accessing through HTTP
  7. RewriteRule ^(.*)/archiver/([a-z0-9\-]+\.html)\?*(.*)$ $1/archiver/index\.php\?$2&$3
  8. RewriteRule ^(.*)/forum-([0-9]+)-([0-9]+)\.html\?*(.*)$ $1/forumdisplay\.php\?fid=$2&page=$3&$4
  9. RewriteRule ^(.*)/thread-([0-9]+)-([0-9]+)-([0-9]+)\.html\?*(.*)$ $1/viewthread\.php\?tid=$2&extra=page\%3D$4&page=$3&$4
  10. RewriteRule ^(.*)/profile-(username|uid)-(.+)\.html\?*(.*)$ $1/viewpro\.php\?$2=$3&$4
  11. RewriteRule ^(.*)/space-(username|uid)-(.+)\.html\?*(.*)$ $1/space\.php\?$2=$3&$4
  12. RewriteCond Host: (.+)

  13. # SupeSite Rewrite规则
  14. # 独立主机用户
  15. # 修改以下语句中的 /supesite 修改为你的SupeSite目录地址,如果程序放在根目录中,请将 /supesite 修改为 /

  16. RewriteRule ^/([0-9]+)$ /index\.php\?$1
  17. RewriteRule ^/([0-9]+)/spacelist(.*)$ /index\.php\?$1/action_spacelist$2
  18. RewriteRule ^/([0-9]+)/viewspace(.+)$ /index\.php\?$1/action_viewspace_itemid$2
  19. RewriteRule ^/([0-9]+)/viewbbs(.+)$ /index\.php\?$1/action_viewbbs_tid$2
  20. RewriteRule ^/([0-9]+)/(.*)$ /index\.php\?$1/$2
  21. RewriteRule ^/action_$1 /$?action_$1
  22. RewriteRule ^/action(.+)$ /index\.php\?action$1
  23. RewriteRule ^/category_(.+)$ /index\.php\?action_category_catid_$1
  24. RewriteRule ^/itemlist_(.+)$ /index\.php\?action_itemlist_catid_$1
  25. RewriteRule ^/viewnews_(.+)$ /index\.php\?action_viewnews_itemid_$1
  26. RewriteRule ^/viewthread_(.+)$ /index\.php\?action_viewthread_tid_$1
  27. RewriteRule ^/index([\.a-zA-Z]*)$ /index.php

  28. # 小北要的规则
  29. # Defend your computer from some worm attacks
  30. RewriteRule .*(?:global.asa|default\.ida|root\.exe|\.\.).* . [F,I,O]
  31. RewriteRule /Card/([0-9,a-z]*).html /Card/show.asp\?id=$1
  32. RewriteRule /card/([0-9,a-z]*).html /card/show.asp\?id=$1
  33. RewriteRule /Card/Ploy([0-9,a-z]*).html /Card/ShowPloy.asp\?id=$1
  34. RewriteRule /Card/Ploy([0-9,a-z]*).html /card/ShowPloy.asp\?id=$1
  35. RewriteRule /card/Ploy([0-9,a-z]*).html /card/ShowPloy.asp\?id=$1

  36. RewriteRule /info/houseinfo([0-9,a-z]*).html /info/house_info.asp\?id=$1
  37. RewriteRule /info/foodinfo([0-9,a-z]*).html /info/food_info.asp\?id=$1
  38. RewriteRule /info/serviceinfo([0-9,a-z]*).html /info/service_info.asp\?id=$1
  39. RewriteRule /info/playinfo([0-9,a-z]*).html /info/play_info.asp\?id=$1
  40. RewriteRule /info/info([0-9,a-z]*).html /info/ShowInfo.asp\?id=$1
  41. RewriteRule /info/infoclass([0-9,a-z]*)-([0-9,a-z]*).html /info/adInfoList.asp\?ClassID=$1&page=$2

  42. RewriteRule /Info/houseinfo([0-9,a-z]*).html /info/house_info.asp\?id=$1
  43. RewriteRule /Info/foodinfo([0-9,a-z]*).html /info/food_info.asp\?id=$1
  44. RewriteRule /Info/serviceinfo([0-9,a-z]*).html /info/service_info.asp\?id=$1
  45. RewriteRule /Info/playinfo([0-9,a-z]*).html /info/play_info.asp\?id=$1
  46. RewriteRule /Info/info([0-9,a-z]*).html /info/ShowInfo.asp\?id=$1
  47. RewriteRule /Info/infoclass([0-9,a-z]*)-([0-9,a-z]*).html /info/adInfoList.asp\?ClassID=$1&page=$2


  48. RewriteRule /biz/([0-9,a-z]*).html /biz/show.asp\?id=$1
  49. RewriteRule /biz/Ploy([0-9,a-z]*).html /biz/ShowPloy.asp\?id=$1
  50. RewriteRule /biz/ploy([0-9,a-z]*).html /biz/showploy.asp\?id=$1

  51. RewriteRule /Member/club_viewsubID=([0-9,a-z]*).html /Member/club_viewsub.asp\?id=$1
  52. RewriteRule /Member/club_lookmeet([0-9,a-z]*)-([0-9,a-z]*).html /Member/club_lookmeet.asp\?id=$1&meetid=$2
  53. RewriteRule /Member/user-(.+).html /Member/club_member.asp\?username=$1

  54. RewriteRule /market/shop([0-9,a-z]*).html /market/shop_content.asp\?id=$1
  55. RewriteRule /market/store([0-9,a-z]*).html /market/storelist.asp\?id=$1
  56. RewriteRule /market/news([0-9,a-z]*).html /market/storenews.asp\?id=$1
  57. RewriteRule /market/product([0-9,a-z]*).html /market/productinfo.asp\?id=$1

  58. RewriteRule /Market/shop([0-9,a-z]*).html /market/shop_content.asp\?id=$1
  59. RewriteRule /Market/store([0-9,a-z]*)-([0-9,a-z]*).html /market/storelist.asp\?id=$1&page=$2
  60. RewriteRule /Market/news([0-9,a-z]*).html /market/storenews.asp\?id=$1
  61. RewriteRule /Market/product([0-9,a-z]*).html /market/productinfo.asp\?id=$1

  62. RewriteRule /photo/([0-9,a-z]*).html /photo/Album.asp\?id=$1
  63. RewriteRule /Photo/([0-9,a-z]*).html /Photo/ShowPhoto.asp\?id=$1

  64. RewriteRule /old/sale_show([0-9,a-z]*).html /old/sale_show.asp\?productID=$1&page=$2

  65. RewriteRule /Tour/Travel_LineShow([0-9,a-z]*).html /Tour/Travel_LineShow.asp\?id=$1
  66. RewriteRule /Tour/Travel_Agency([0-9,a-z]*).html /Tour/Travel_Agency.asp\?id=$1
复制代码

[ 本帖最后由 fyhac 于 2007-6-15 18:11 编辑 ]
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-11-21 15:26 , Processed in 0.101682 second(s), 14 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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