所有域名添加数字目录都不能访问例如 www.xxxxx.com/372141/3.jpg 不能访问,换成 www.xxxx.com/372141a/3.jpg
带有一个字母却可以访问 之前正常但添加了静态后数字目录却无法访问,下面是规则麻烦大虾门指教下
环境IIS6 PHP5.2 MYSQL5.0.18
- [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 Host: (.+)
- # SupeSite Rewrite规则
- # 独立主机用户
- # 修改以下语句中的 /supesite 修改为你的SupeSite目录地址,如果程序放在根目录中,请将 /supesite 修改为 /
- RewriteRule ^/([0-9]+)$ /index\.php\?$1
- RewriteRule ^/([0-9]+)/spacelist(.*)$ /index\.php\?$1/action_spacelist$2
- RewriteRule ^/([0-9]+)/viewspace(.+)$ /index\.php\?$1/action_viewspace_itemid$2
- RewriteRule ^/([0-9]+)/viewbbs(.+)$ /index\.php\?$1/action_viewbbs_tid$2
- RewriteRule ^/([0-9]+)/(.*)$ /index\.php\?$1/$2
- RewriteRule ^/action_$1 /$?action_$1
- RewriteRule ^/action(.+)$ /index\.php\?action$1
- RewriteRule ^/category_(.+)$ /index\.php\?action_category_catid_$1
- RewriteRule ^/itemlist_(.+)$ /index\.php\?action_itemlist_catid_$1
- RewriteRule ^/viewnews_(.+)$ /index\.php\?action_viewnews_itemid_$1
- RewriteRule ^/viewthread_(.+)$ /index\.php\?action_viewthread_tid_$1
- RewriteRule ^/index([\.a-zA-Z]*)$ /index.php
- # 小北要的规则
- # Defend your computer from some worm attacks
- RewriteRule .*(?:global.asa|default\.ida|root\.exe|\.\.).* . [F,I,O]
- RewriteRule /Card/([0-9,a-z]*).html /Card/show.asp\?id=$1
- RewriteRule /card/([0-9,a-z]*).html /card/show.asp\?id=$1
- RewriteRule /Card/Ploy([0-9,a-z]*).html /Card/ShowPloy.asp\?id=$1
- RewriteRule /Card/Ploy([0-9,a-z]*).html /card/ShowPloy.asp\?id=$1
- RewriteRule /card/Ploy([0-9,a-z]*).html /card/ShowPloy.asp\?id=$1
- RewriteRule /info/houseinfo([0-9,a-z]*).html /info/house_info.asp\?id=$1
- RewriteRule /info/foodinfo([0-9,a-z]*).html /info/food_info.asp\?id=$1
- RewriteRule /info/serviceinfo([0-9,a-z]*).html /info/service_info.asp\?id=$1
- RewriteRule /info/playinfo([0-9,a-z]*).html /info/play_info.asp\?id=$1
- RewriteRule /info/info([0-9,a-z]*).html /info/ShowInfo.asp\?id=$1
- RewriteRule /info/infoclass([0-9,a-z]*)-([0-9,a-z]*).html /info/adInfoList.asp\?ClassID=$1&page=$2
- RewriteRule /Info/houseinfo([0-9,a-z]*).html /info/house_info.asp\?id=$1
- RewriteRule /Info/foodinfo([0-9,a-z]*).html /info/food_info.asp\?id=$1
- RewriteRule /Info/serviceinfo([0-9,a-z]*).html /info/service_info.asp\?id=$1
- RewriteRule /Info/playinfo([0-9,a-z]*).html /info/play_info.asp\?id=$1
- RewriteRule /Info/info([0-9,a-z]*).html /info/ShowInfo.asp\?id=$1
- RewriteRule /Info/infoclass([0-9,a-z]*)-([0-9,a-z]*).html /info/adInfoList.asp\?ClassID=$1&page=$2
- RewriteRule /biz/([0-9,a-z]*).html /biz/show.asp\?id=$1
- RewriteRule /biz/Ploy([0-9,a-z]*).html /biz/ShowPloy.asp\?id=$1
- RewriteRule /biz/ploy([0-9,a-z]*).html /biz/showploy.asp\?id=$1
- RewriteRule /Member/club_viewsubID=([0-9,a-z]*).html /Member/club_viewsub.asp\?id=$1
- RewriteRule /Member/club_lookmeet([0-9,a-z]*)-([0-9,a-z]*).html /Member/club_lookmeet.asp\?id=$1&meetid=$2
- RewriteRule /Member/user-(.+).html /Member/club_member.asp\?username=$1
- RewriteRule /market/shop([0-9,a-z]*).html /market/shop_content.asp\?id=$1
- RewriteRule /market/store([0-9,a-z]*).html /market/storelist.asp\?id=$1
- RewriteRule /market/news([0-9,a-z]*).html /market/storenews.asp\?id=$1
- RewriteRule /market/product([0-9,a-z]*).html /market/productinfo.asp\?id=$1
- RewriteRule /Market/shop([0-9,a-z]*).html /market/shop_content.asp\?id=$1
- RewriteRule /Market/store([0-9,a-z]*)-([0-9,a-z]*).html /market/storelist.asp\?id=$1&page=$2
- RewriteRule /Market/news([0-9,a-z]*).html /market/storenews.asp\?id=$1
- RewriteRule /Market/product([0-9,a-z]*).html /market/productinfo.asp\?id=$1
- RewriteRule /photo/([0-9,a-z]*).html /photo/Album.asp\?id=$1
- RewriteRule /Photo/([0-9,a-z]*).html /Photo/ShowPhoto.asp\?id=$1
- RewriteRule /old/sale_show([0-9,a-z]*).html /old/sale_show.asp\?productID=$1&page=$2
- RewriteRule /Tour/Travel_LineShow([0-9,a-z]*).html /Tour/Travel_LineShow.asp\?id=$1
- RewriteRule /Tour/Travel_Agency([0-9,a-z]*).html /Tour/Travel_Agency.asp\?id=$1
复制代码
[ 本帖最后由 fyhac 于 2007-6-15 18:11 编辑 ] |