首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > ASP >

IIS 伪静态规则如何写

2012-06-02 
IIS 伪静态规则怎么写?IIS 伪静态规则怎么写?我的路径,是index.asp,about.asp,about.asp?id12,about.asp?

IIS 伪静态规则怎么写?
IIS 伪静态规则怎么写?
我的路径,是index.asp ,about.asp, about.asp?id=12, about.asp?id=13 ,about.asp?id=14,,,news.asp,,,product.asp, 连接如,showproduct.asp?id=12,,,shownews.asp?id=13,,,,这样的伪规则应该怎么写啊?
还有页面翻页怎么办?

[解决办法]
给一个例子,其它对照着写

RewriteRule (.*)/about-([0-9]*).html $1/about.asp?id=$2
[解决办法]
一类一类的写
about_12.html
^about_(\d+)$ about.asp?id=$1

shownews_12_1.html --------- 12是id 1是page
^shownews_(\d+)_(\d+)$ shownews.asp?id=$1&page=$2




热点排行