httpd.ini转换成.htaccess
[ISAPI_Rewrite]#3600=1hourCacheClockRate3600RepeatLimit32#Protecthttpd.iniandhttpd.pa...
[ISAPI_Rewrite]
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
# Protect httpd.ini and httpd.parse.errors files
# from accessing through HTTP
RewriteRule /spu_search-(.*) /search.php\?$1 [I,L]
RewriteRule /(.*).htm(?:\?(.*))? /detail.php\?$1&$2 [I,L] 展开
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
# Protect httpd.ini and httpd.parse.errors files
# from accessing through HTTP
RewriteRule /spu_search-(.*) /search.php\?$1 [I,L]
RewriteRule /(.*).htm(?:\?(.*))? /detail.php\?$1&$2 [I,L] 展开
2个回答
展开全部
RewriteEngine On
RewriteBase /
RewriteRule ^spu_search-(.*) search.php?$1 [L]
RewriteRule ^(.*)\.htm(?:\?(.*))? detail.php?$1&$2 [L]
RewriteBase /
RewriteRule ^spu_search-(.*) search.php?$1 [L]
RewriteRule ^(.*)\.htm(?:\?(.*))? detail.php?$1&$2 [L]
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
您可能需要的服务
百度律临官方认证律师咨询
平均3分钟响应
|
问题解决率99%
|
24小时在线
立即免费咨询律师
15697人正在获得一对一解答
合肥云端漫步2分钟前提交了问题
长春极地风情4分钟前提交了问题
重庆晨曦微光6分钟前提交了问题