RewriteRule 二级目录怎么写?
RewriteRule/loginok.html/huiyuan/loginok.asp这样总是找不到页面,怎么弄?...
RewriteRule /loginok.html /huiyuan/loginok.asp 这样总是找不到页面,怎么弄?
展开
展开全部
RewriteRule (.*)/book\.html$ $1/modules/article/index\.php [L]
RewriteRule (.*)/catalog/([0-9]+)-([0-9]+)\.html$ $1/modules/article/articlelist\.php\?class=$2&page=$3 [L]
RewriteRule (.*)/catalog/([0-9]+)/index\.html$ $1/modules/article/articlelist\.php\?class=$2&page=$3 [L]
RewriteRule (.*)/chkbook/([0-9]+)/([0-9]+)\.html$ $1/modules/article/articleinfo\.php\?id=$3 [L]
RewriteRule (.*)/chkbook_([0-9]+)\.html$ $1/r\.asp\?id=$2 [L]
RewriteRule (.*)/catalog/-([0-9]+)\.html$ $1/modules/article/toplist\.php\?sort=lastupdate&page=$2 [L]
RewriteRule (.*)/chksort/([0-9]+)-([0-9]+)\.html$ $1/modules/article/articlelist\.php\?class=$2&page=$3 [L]
RewriteRule (.*)/chkinitial/0-([0-9]+)\.html$ $1/modules/article/index\.php\?initial=~&page=$2 [L]
RewriteRule (.*)/chkinitial/([1A-Z])-([0-9]+)\.html$ $1/modules/article/articlelist\.php\?initial=$2&page=$3 [L]
#chkinitial/G-1.html
RewriteRule (.*)/catalog/([0-9]+)-([0-9]+)\.html$ $1/modules/article/articlelist\.php\?class=$2&page=$3 [L]
RewriteRule (.*)/catalog/([0-9]+)/index\.html$ $1/modules/article/articlelist\.php\?class=$2&page=$3 [L]
RewriteRule (.*)/chkbook/([0-9]+)/([0-9]+)\.html$ $1/modules/article/articleinfo\.php\?id=$3 [L]
RewriteRule (.*)/chkbook_([0-9]+)\.html$ $1/r\.asp\?id=$2 [L]
RewriteRule (.*)/catalog/-([0-9]+)\.html$ $1/modules/article/toplist\.php\?sort=lastupdate&page=$2 [L]
RewriteRule (.*)/chksort/([0-9]+)-([0-9]+)\.html$ $1/modules/article/articlelist\.php\?class=$2&page=$3 [L]
RewriteRule (.*)/chkinitial/0-([0-9]+)\.html$ $1/modules/article/index\.php\?initial=~&page=$2 [L]
RewriteRule (.*)/chkinitial/([1A-Z])-([0-9]+)\.html$ $1/modules/article/articlelist\.php\?initial=$2&page=$3 [L]
#chkinitial/G-1.html
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
2012-02-09
展开全部
RewriteEngine on
rewritebase /youxi/
rewriterule ^index.html$ /index.php?m=index
rewriterule ^my/(.*)\.html$ /index.php?m=about&d=$1
rewriterule ^0/$ /index.php?m=list
rewriterule ^0/index\.html$ /index.php?m=list
rewriterule ^(\d+)/$ /index.php?m=list&typeid=$1
rewriterule ^(\d+)/index\.html$ /index.php?m=list&typeid=$1
rewriterule ^(\d+)/f\.html$ /index.php?m=list&typeid=$1&s=f
rewriterule ^(\d+)/n\.html$ /index.php?m=list&typeid=$1&s=n
rewriterule ^(\d+)/p(\d+)\.html$ /index.php?m=list&typeid=$1&p=$2
rewriterule ^(\d+)/f-(\d+)\.html$ /index.php?m=list&typeid=$1&p=$2&s=f
rewriterule ^(\d+)/n-(\d+)\.html$ /index.php?m=list&typeid=$1&p=$2&s=n
rewriterule ^(\d+)/top\.html$ /index.php?m=top&typeid=$1
rewriterule ^t/$ /index.php?m=zhuanti
rewriterule ^t/index.html$ /index.php?m=zhuanti
rewriterule ^(\w+)/$ /index.php?m=topic&topicpin=$1
rewriterule ^(\w+)/index\.html$ /index.php?m=topic&topicpin=$1
rewriterule ^(\w+)/f\.html$ /index.php?m=topic&topicpin=$1&s=f
rewriterule ^(\w+)/n\.html$ /index.php?m=topic&topicpin=$1&s=n
rewriterule ^(\w+)/p(\d+)\.html$ /index.php?m=topic&topicpin=$1&p=$2
rewriterule ^(\w+)/f-(\d+)\.html$ /index.php?m=topic&topicpin=$1&p=$2&s=f
rewriterule ^(\w+)/n-(\d+)\.html$ /index.php?m=topic&topicpin=$1&p=$2&s=n
rewriterule ^g/(\d+)\.html$ /index.php?m=show&gameid=$1
rewriterule ^g/(\d+)-play\.html$ /index.php?m=play&gameid=$1
rewriterule ^g/(\d+)-screen\.html$ /index.php?m=play-screen&gameid=$1
rewritebase /youxi/
rewriterule ^index.html$ /index.php?m=index
rewriterule ^my/(.*)\.html$ /index.php?m=about&d=$1
rewriterule ^0/$ /index.php?m=list
rewriterule ^0/index\.html$ /index.php?m=list
rewriterule ^(\d+)/$ /index.php?m=list&typeid=$1
rewriterule ^(\d+)/index\.html$ /index.php?m=list&typeid=$1
rewriterule ^(\d+)/f\.html$ /index.php?m=list&typeid=$1&s=f
rewriterule ^(\d+)/n\.html$ /index.php?m=list&typeid=$1&s=n
rewriterule ^(\d+)/p(\d+)\.html$ /index.php?m=list&typeid=$1&p=$2
rewriterule ^(\d+)/f-(\d+)\.html$ /index.php?m=list&typeid=$1&p=$2&s=f
rewriterule ^(\d+)/n-(\d+)\.html$ /index.php?m=list&typeid=$1&p=$2&s=n
rewriterule ^(\d+)/top\.html$ /index.php?m=top&typeid=$1
rewriterule ^t/$ /index.php?m=zhuanti
rewriterule ^t/index.html$ /index.php?m=zhuanti
rewriterule ^(\w+)/$ /index.php?m=topic&topicpin=$1
rewriterule ^(\w+)/index\.html$ /index.php?m=topic&topicpin=$1
rewriterule ^(\w+)/f\.html$ /index.php?m=topic&topicpin=$1&s=f
rewriterule ^(\w+)/n\.html$ /index.php?m=topic&topicpin=$1&s=n
rewriterule ^(\w+)/p(\d+)\.html$ /index.php?m=topic&topicpin=$1&p=$2
rewriterule ^(\w+)/f-(\d+)\.html$ /index.php?m=topic&topicpin=$1&p=$2&s=f
rewriterule ^(\w+)/n-(\d+)\.html$ /index.php?m=topic&topicpin=$1&p=$2&s=n
rewriterule ^g/(\d+)\.html$ /index.php?m=show&gameid=$1
rewriterule ^g/(\d+)-play\.html$ /index.php?m=play&gameid=$1
rewriterule ^g/(\d+)-screen\.html$ /index.php?m=play-screen&gameid=$1
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询