httpd.ini 伪静态转.htaccess问题
httpd.ini文件内容如下:[ISAPI_Rewrite]#3600=1hourCacheClockRate3600RepeatLimit32RewriteRule^...
httpd.ini 文件内容如下:
[ISAPI_Rewrite]
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
RewriteRule ^(.*)/user/(.*)/(.*)/(.*)$ $1/index\.php\?user&user_id=$2&q=code/$3/$4
RewriteRule ^(.*)/user/(.*)/(.*)$ $1/index\.php\?user&user_id=$2&q=code/$3
RewriteRule ^(.*)/user/(.*)$ $1/index\.php\?user&user_id=$2
RewriteRule ^(.*)/u/(.*)/(.*)$ $1/index\.php\?home&user_id=$2&q=$3
RewriteRule ^(.*)/u/(.*)$ $1/index\.php\?home&user_id=$2
RewriteRule ^(.*)/(.*)/(.*)/index.html$ $1/index\.php\?$2&nid=$3
RewriteRule ^(.*)/(.*)/(.*)/index(.*).html$ $1/index\.php?$2&nid=$3&page=$4
RewriteRule ^(.*)/(.*)/(.*)/a(.*).html$ $1/index\.php\?$2&nid=$3&article_id=$4
RewriteRule ^(.*)/(.*)/(.*)/a(.*).html?(.*)$ $1/index\.php\?$2&nid=$3&article_id=$4&$5
RewriteRule ^(.*)/(.*)/index.html$ $1/index\.php\?$2
RewriteRule ^(.*)/(.*)/index(.*).html$ $1/index\.php\?$2&page=$3
RewriteRule ^(.*)/(.*)/index(.*).html?(.*)$ $1/index\.php\?$2&page=$3&$4
RewriteRule ^(.*)/(.*)/a(.*)_(.*).html$ $1/index\.php\?$2&article_id=$3&page=$4
RewriteRule ^(.*)/(.*)/a(.*).html$ $1/index\.php\?$2&article_id=$3
RewriteRule ^(.*)/(.*)/a(.*).html?(.*)$ $1/index\.php\?$2&article_id=$3&$4 展开
[ISAPI_Rewrite]
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
RewriteRule ^(.*)/user/(.*)/(.*)/(.*)$ $1/index\.php\?user&user_id=$2&q=code/$3/$4
RewriteRule ^(.*)/user/(.*)/(.*)$ $1/index\.php\?user&user_id=$2&q=code/$3
RewriteRule ^(.*)/user/(.*)$ $1/index\.php\?user&user_id=$2
RewriteRule ^(.*)/u/(.*)/(.*)$ $1/index\.php\?home&user_id=$2&q=$3
RewriteRule ^(.*)/u/(.*)$ $1/index\.php\?home&user_id=$2
RewriteRule ^(.*)/(.*)/(.*)/index.html$ $1/index\.php\?$2&nid=$3
RewriteRule ^(.*)/(.*)/(.*)/index(.*).html$ $1/index\.php?$2&nid=$3&page=$4
RewriteRule ^(.*)/(.*)/(.*)/a(.*).html$ $1/index\.php\?$2&nid=$3&article_id=$4
RewriteRule ^(.*)/(.*)/(.*)/a(.*).html?(.*)$ $1/index\.php\?$2&nid=$3&article_id=$4&$5
RewriteRule ^(.*)/(.*)/index.html$ $1/index\.php\?$2
RewriteRule ^(.*)/(.*)/index(.*).html$ $1/index\.php\?$2&page=$3
RewriteRule ^(.*)/(.*)/index(.*).html?(.*)$ $1/index\.php\?$2&page=$3&$4
RewriteRule ^(.*)/(.*)/a(.*)_(.*).html$ $1/index\.php\?$2&article_id=$3&page=$4
RewriteRule ^(.*)/(.*)/a(.*).html$ $1/index\.php\?$2&article_id=$3
RewriteRule ^(.*)/(.*)/a(.*).html?(.*)$ $1/index\.php\?$2&article_id=$3&$4 展开
1个回答
展开全部
[ISAPI_Rewrite]
CacheClockRate 3600
RepeatLimit 32
RewriteRule (.*)$ /index\.php/$1
CacheClockRate 3600
RepeatLimit 32
RewriteRule (.*)$ /index\.php/$1
追问
你这个没有整理好吧,我要整理好的,帮我转换过来的
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
Storm代理
2023-07-25 广告
2023-07-25 广告
StormProxies是一家提供动态代理服务器服务的企业,旨在帮助用户更好地管理网络访问和安全。以下是一些关于StormProxies的IP动态代理服务的特点:1. 高匿名性:StormProxies的动态代理服务器具有高匿名性,可以有效...
点击进入详情页
本回答由Storm代理提供
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询