.htaccess的Rewrite的问题

什么都不能 失业人员  2007-10-19 10:16:43
RewriteEngine on
RewriteRule ^/archive/(\d+)/1.html$ /Article/thread\.php\?threadid=$1 [N,I]
RewriteRule ^/archive/(\d+)/(\d+).html$ /Article/thread\.php\?threadid=$1§ion=$2 [N,I]
大家帮我看下有什么问题?
...全文
73 点赞 收藏 2
写回复
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
yzxlyd 2007-10-19
RewriteRule ^/archive/(\d+)/1\.html$ /Article/thread\.php\?threadid=$1 [N,I]
RewriteRule ^/archive/(\d+)/(\d+)\.html$ /Article/thread\.php\?threadid=$1§ion=$2 [N,I]
回复
什么都不能 2007-10-19
问题已解决
现在我的是
# .htaccess
# modify by hanpoyangtitan at 10:33 on Oct.19th,2007
RewriteEngine on
RewriteBase /
RewriteRule ^index\.html$ index\.php
RewriteRule ^archive/index\.html$ Article/index\.php
RewriteRule ^archive/index,(\d+)\.html$ Article/index\.php\?category=$1
RewriteRule ^archive/(\d+)/1\.html$ Article/thread\.php\?threadid=$1
RewriteRule ^archive/(\d+)/(\d+)\.html$ Article/thread\.php\?threadid=$1§ion=$2
# modify end
回复
发动态
发帖子
基础编程
创建于2007-09-28

2.1w+

社区成员

从PHP安装配置,PHP入门,PHP基础到PHP应用
申请成为版主
社区公告
暂无公告