您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

求个伪静态守则

2024/3/3 13:12:38发布30次查看
求个伪静态规则
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
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product