您好,欢迎访问一九零五行业门户网

求个伪静态规则

http://www.baidu.com/read/1/1000/index.html
http://www.baidu.com/read/2/2000/index.html 
http://www.baidu.com/read/30/30000/index.html 
伪静态后,需要能够实现      
http://www.baidu.com/read/1000/index.html
http://www.baidu.com/read/2000/index.html
http://www.baidu.com/read/30000/index.html
回复讨论(解决方案) 我给你我写过的伪静态示例,希望对你有用
httpd.ini
[isapi_rewrite]
cacheclockrate 3600
repeatlimit 32
rewriterule /index\.html /index\.asp 
rewriterule  /cpic_(\d+)\.html  /cpic\.asp\?id=$1 
rewriterule /cpic_(\d+)_(\d+)\.html /cpic\.asp\?page=$1&id=$2
.htaccess
rewriteengine on
rewriterule  ^map.html  /map.asp 
rewriterule  ^cxwnews_(\d+).html  /cxwnews.asp?id=$1
rewriterule  ^cxwnews_(\d+)_(\d+).html /cxwnews.asp?page=$1&id=$2
其它类似信息

推荐信息