哪位能把httpd.ini伪静态规则改成.htaccess伪静态规则啊?不胜感激额。以下是源文件!~ 20
[ISAPI_Rewrite]#3600=1hourCacheClockRate3600RepeatLimit32#Blockexternalaccesstothehtt...
[ISAPI_Rewrite]
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
# Block external access to the httpd.ini and httpd.parse.errors files
RewriteRule /httpd(?:\.ini|\.parse\.errors).* / [F,I,O]
# Block external access to the Helper ISAPI Extension
RewriteRule .*\.isrwhlp / [F,I,O]
RewriteRule /index\.html /index\.php
RewriteRule /sitemap.htm /sitemap.php
RewriteRule /([a-zA-Z0-9]*)/([a-zA-Z0-9]*)\.html /$1/$2\.php
RewriteRule /([a-zA-Z0-9]*)/(.*)detail_([0-9]+)\.html /$1/$2detail\.php\?$2id=$3
RewriteRule /([a-zA-Z0-9]*)/index_([0-9]+)\.html /$1/index\.php\?PageNo=$2
RewriteRule /news/news_([0-9]+)\.html /news/news\.php\?newsclassid=$1
RewriteRule /news/news_([0-9]+)_([0-9]+)\.html /news/news\.php\?newsclassid=$1&PageNo=$2
RewriteRule /cz/chuzu_([0-9]+)\.html /cz/czdetail\.php\?czid=$1
RewriteRule /cs/chushou_([0-9]+)\.html /cs/csdetail\.php\?csid=$1
RewriteRule /qz/qiuzu_([0-9]+)\.html /qz/qzdetail\.php\?qzid=$1
RewriteRule /qg/qiugou_([0-9]+)\.html /qg/qgdetail\.php\?qgid=$1
RewriteRule /zhidao/question_([0-9]+)\.html /zhidao/question\.php\?id=$1
# RewriteRule /zp/index_(.*)_([0-9]+)\.html /zp/index\.php\?company=$1&PageNo=$2
# RewriteRule /zp/company_([0-9]+)\.html /zp/company\.php\?comid=$1
# RewriteRule /jianzhao/index_(.*)_([0-9]+)\.html /jianzhao/index\.php\?keyword=$1&PageNo=$2 展开
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
# Block external access to the httpd.ini and httpd.parse.errors files
RewriteRule /httpd(?:\.ini|\.parse\.errors).* / [F,I,O]
# Block external access to the Helper ISAPI Extension
RewriteRule .*\.isrwhlp / [F,I,O]
RewriteRule /index\.html /index\.php
RewriteRule /sitemap.htm /sitemap.php
RewriteRule /([a-zA-Z0-9]*)/([a-zA-Z0-9]*)\.html /$1/$2\.php
RewriteRule /([a-zA-Z0-9]*)/(.*)detail_([0-9]+)\.html /$1/$2detail\.php\?$2id=$3
RewriteRule /([a-zA-Z0-9]*)/index_([0-9]+)\.html /$1/index\.php\?PageNo=$2
RewriteRule /news/news_([0-9]+)\.html /news/news\.php\?newsclassid=$1
RewriteRule /news/news_([0-9]+)_([0-9]+)\.html /news/news\.php\?newsclassid=$1&PageNo=$2
RewriteRule /cz/chuzu_([0-9]+)\.html /cz/czdetail\.php\?czid=$1
RewriteRule /cs/chushou_([0-9]+)\.html /cs/csdetail\.php\?csid=$1
RewriteRule /qz/qiuzu_([0-9]+)\.html /qz/qzdetail\.php\?qzid=$1
RewriteRule /qg/qiugou_([0-9]+)\.html /qg/qgdetail\.php\?qgid=$1
RewriteRule /zhidao/question_([0-9]+)\.html /zhidao/question\.php\?id=$1
# RewriteRule /zp/index_(.*)_([0-9]+)\.html /zp/index\.php\?company=$1&PageNo=$2
# RewriteRule /zp/company_([0-9]+)\.html /zp/company\.php\?comid=$1
# RewriteRule /jianzhao/index_(.*)_([0-9]+)\.html /jianzhao/index\.php\?keyword=$1&PageNo=$2 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询