具体的设置方法见压缩包内说明文档.
httpd.ini配置方法
(每个大括号代表一个url参数,其中用正则表达式匹配.)
RewriteRule ^(.*)/([a-z0-9\-\_]+)$ $1/Default\.aspx\?id=$2
# http://localhost/Text 就会等同于 http://localhost/Default.aspx?id=Text
httpd.ini配置方法
(每个大括号代表一个url参数,其中用正则表达式匹配.)
RewriteRule ^(.*)/([a-z0-9\-\_]+)$ $1/Default\.aspx\?id=$2
# http://localhost/Text 就会等同于 http://localhost/Default.aspx?id=Text
# RewriteRule ^(.*)/id_([a-z0-9\-]+)\.html$ $1/Default\.aspx\?id=$2
# http://localhost/id_Text.html 就会等同于 http://localhost/Default.aspx?id=Text
RewriteRule ^(.*)/html/([0-9]+)/([0-9]+)\.html$ $1/Default\.aspx\?id=$2&name=$3
# http://localhost/html/001/007.html 就等同于 http://localhost/Default.aspx?id=001&name=007