高分求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 /ask/ask(\d+)\.html /ask/detail\.php\?aid=$1

RewriteRule /group/(\d+) /group/groupmain\.php\?mainid=$1
RewriteRule /group/party(\d+)\.html /group/party\.php\?mainid=$1
RewriteRule /group/article(\d+)\.html /group/article\.php\?mainid=$1
RewriteRule /group/photo(\d+)\.html /group/photo\.php\?mainid=$1
RewriteRule /group/user(\d+)\.html /group/user\.php\?mainid=$1
RewriteRule /group/post(\d+)\.html /group/post\.php\?mainid=$1
RewriteRule /group/read(\d+)\.html /group/read\.php\?fid=$1
RewriteRule /group/partyshow(\d+)\.html /group/partyshow\.php\?fid=$1

RewriteRule /home/(\d+) /home/main\.php\?uid=$1
RewriteRule /home/myarchive(\d+)\.html /home/myarchive\.php\?uid=$1
RewriteRule /home/myvideo(\d+)\.html /home/myvideo\.php\?uid=$1
RewriteRule /home/myphoto(\d+)\.html /home/myphoto\.php\?uid=$1
RewriteRule /home/mydiary(\d+)\.html /home/mydiary\.php\?uid=$1
RewriteRule /home/myask(\d+)\.html /home/myask\.php\?uid=$1
RewriteRule /home/mydating(\d+)\.html /home/mydating\.php\?uid=$1
RewriteRule /home/myfriend(\d+)\.html /home/myfriend\.php\?uid=$1
RewriteRule /home/mybbs(\d+)\.html /home/mybbs\.php\?uid=$1
RewriteRule /home/mycontact(\d+)\.html /home/mycontact\.php\?uid=$1
RewriteRule /home/v(\d+)\.html /home/v\.php\?fid=$1
RewriteRule /home/p(\d+)\.html /home/p\.php\?fid=$1
RewriteRule /home/diary(\d+)\.html /home/diary\.php\?fid=$1
RewriteRule /home/ask(\d+)\.html /home/ask\.php\?fid=$1
RewriteRule /home/dating(\d+)\.html /home/dating\.php\?fid=$1
RewriteRule /home/([1-2]+)p(\d+)u(\d+)\.html /home/p\.php\?act=$1\&fid=$2&uid=$3

RewriteRule /chat/(\d+)\.html /chat/index\.php\?uid=$1
RewriteRule /chat/chksend(\d+)\.html /chat/chksend\.php\?uid=$1

RewriteRule /bidderuser(\d+)\.html /bidderuser\.php\?uid=$1
RewriteRule /biddergroup(\d+)\.html /biddergroup\.php\?mainid=$1
RewriteRule /bidderdating(\d+)\.html /bidderdating\.php\?did=$1
RewriteRule /clinic/detail(\d+)\.html /clinic/detail\.php\?fid=$1
RewriteRule /story/detail(\d+)\.html /story/detail\.php\?fid=$1
RewriteRule /news(\d+)\.html /newsshow\.php\?id=$1
展开
 我来答
jszjgqq
2011-03-26 · TA获得超过7.1万个赞
知道大有可为答主
回答量:1.5万
采纳率:42%
帮助的人:1.6亿
展开全部
我就说一条吧,其他都一样的

RewriteRule /ask/ask(\d+)\.html /ask/detail\.php\?aid=$1

比如上面这条,如果要写成.htaccess形式的,那只要把 ask前面的/ 换成^ 然后 后面ask前面的/ 去掉就行了,

其他的都按照我上面说的做就行了.
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
您可能需要的服务
百度律临官方认证律师咨询
平均3分钟响应 | 问题解决率99% | 24小时在线
立即免费咨询律师
12218人正在获得一对一解答
南宁热带风暴6分钟前提交了问题
武汉草原风1分钟前提交了问题
杭州雪花飘飘5分钟前提交了问题
下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消
还有疑问? 马上咨询31531位在线律师,3分钟快速解答
立即免费咨询律师

辅 助

模 式