哪个帮我看看asp伪静态规则文件,
[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\.asp $1/index.html
RewriteRule ^(.*)/lianxi\.asp $1/lianxi.html
RewriteRule ^(.*)/anlid\.asp $1/anlid.html
RewriteRule ^(.*)/index\.asp $1/index.html
RewriteRule ^(.*)/new([0-9,a-z]*).html$ /new.asp\?id=$1
RewriteRule ^(.*)/news([0-9,a-z]*).html$ /news.asp\?id=$1
RewriteRule ^(.*)/anli([0-9,a-z]*).html$ /anli.asp\?id=$1
RewriteRule ^(.*)/anlixq([0-9,a-z]*).html$ /anlixq.asp\?id=$1
RewriteRule ^(.*)/qiye([0-9,a-z]*).html$ /qiye.asp\?id=$1
RewriteRule ^(.*)/wltg([0-9,a-z]*).html$ /wltg.asp\?id=$1
RewriteRule ^(.*)/wzjs([0-9,a-z]*).html$ /wzjs.asp\?id=$1
RewriteRule ^(.*)/wzyh([0-9,a-z]*).html$ /wzyh.asp\?id=$1
给空间商了 不能用 说规则由问题, 展开
# 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\.asp $1/index.html
RewriteRule ^(.*)/lianxi\.asp $1/lianxi.html
RewriteRule ^(.*)/anlid\.asp $1/anlid.html
RewriteRule ^(.*)/index\.asp $1/index.html
RewriteRule ^(.*)/new([0-9,a-z]*).html$ /new.asp\?id=$1
RewriteRule ^(.*)/news([0-9,a-z]*).html$ /news.asp\?id=$1
RewriteRule ^(.*)/anli([0-9,a-z]*).html$ /anli.asp\?id=$1
RewriteRule ^(.*)/anlixq([0-9,a-z]*).html$ /anlixq.asp\?id=$1
RewriteRule ^(.*)/qiye([0-9,a-z]*).html$ /qiye.asp\?id=$1
RewriteRule ^(.*)/wltg([0-9,a-z]*).html$ /wltg.asp\?id=$1
RewriteRule ^(.*)/wzjs([0-9,a-z]*).html$ /wzjs.asp\?id=$1
RewriteRule ^(.*)/wzyh([0-9,a-z]*).html$ /wzyh.asp\?id=$1
给空间商了 不能用 说规则由问题, 展开
3个回答
展开全部
[ISAPI_Rewrite]
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
# Protect httpd.ini and httpd.parse.errors files
# from accessing through HTTP
RewriteRule ^(.*)/index\.asp$ $1/index.html
RewriteRule ^(.*)/lianxi\.asp$ $1/lianxi.html
RewriteRule ^(.*)/anlid\.asp$ $1/anlid.html
RewriteRule ^(.*)/index\.asp$ $1/index.html
RewriteRule ^(.*)/new([0-9,a-z]*).html$ $1/new.asp\?id=$2
RewriteRule ^(.*)/news([0-9,a-z]*).html$ $1/news.asp\?id=$2
RewriteRule ^(.*)/anli([0-9,a-z]*).html$ $1/anli.asp\?id=$2
RewriteRule ^(.*)/anlixq([0-9,a-z]*).html$ $1/anlixq.asp\?id=$2
RewriteRule ^(.*)/qiye([0-9,a-z]*).html$ $1/qiye.asp\?id=$2
RewriteRule ^(.*)/wltg([0-9,a-z]*).html$ $1/wltg.asp\?id=$2
RewriteRule ^(.*)/wzjs([0-9,a-z]*).html$ $1/wzjs.asp\?id=$2
RewriteRule ^(.*)/wzyh([0-9,a-z]*).html$ $1/wzyh.asp\?id=$2
这样试试
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
# Protect httpd.ini and httpd.parse.errors files
# from accessing through HTTP
RewriteRule ^(.*)/index\.asp$ $1/index.html
RewriteRule ^(.*)/lianxi\.asp$ $1/lianxi.html
RewriteRule ^(.*)/anlid\.asp$ $1/anlid.html
RewriteRule ^(.*)/index\.asp$ $1/index.html
RewriteRule ^(.*)/new([0-9,a-z]*).html$ $1/new.asp\?id=$2
RewriteRule ^(.*)/news([0-9,a-z]*).html$ $1/news.asp\?id=$2
RewriteRule ^(.*)/anli([0-9,a-z]*).html$ $1/anli.asp\?id=$2
RewriteRule ^(.*)/anlixq([0-9,a-z]*).html$ $1/anlixq.asp\?id=$2
RewriteRule ^(.*)/qiye([0-9,a-z]*).html$ $1/qiye.asp\?id=$2
RewriteRule ^(.*)/wltg([0-9,a-z]*).html$ $1/wltg.asp\?id=$2
RewriteRule ^(.*)/wzjs([0-9,a-z]*).html$ $1/wzjs.asp\?id=$2
RewriteRule ^(.*)/wzyh([0-9,a-z]*).html$ $1/wzyh.asp\?id=$2
这样试试
Storm代理
2023-08-29 广告
2023-08-29 广告
"StormProxies是全球大数据IP资源服务商,其住宅代理网络由真实的家庭住宅IP组成,可为企业或个人提供满足各种场景的代理产品。点击免费测试(注册即送1G流量)StormProxies有哪些优势?1、IP+端口提取形式,不限带宽,I...
点击进入详情页
本回答由Storm代理提供
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询