首頁 >後端開發 >php教程 >apache上的伪静态怎么转换成iis上的伪静态

apache上的伪静态怎么转换成iis上的伪静态

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB原創
2016-06-13 11:11:031072瀏覽

apache下的伪静态如何转换成iis下的伪静态
apache下的伪静态如何转换成iis下的伪静态?因为apache是.htaccess 而iis是httpd.ini  如果直接改文件名的话,并不行,如下面的apache下的伪静态代码?(请说下转换方法)


# Destoon B2B Rewrite Rules<br />RewriteEngine On<br />RewriteRule list-(\d+)\.html$ index\.php\?c=list&m=index&parent_cid=$1<br />RewriteRule list-(\d+)-(\d+)\.html$ index\.php\?c=list&m=index&parent_cid=$1&page=$2<br /><br /><br />RewriteRule list-(\d+)-(\d+)-(\d+)\.html$ index\.php\?c=list&m=index&parent_cid=$1&sort=$2&page=$3<br />RewriteRule list-(\d+)-(\d+)\.html$ index\.php\?c=list&m=index&parent_cid=$1&sort=$2<br /><br />RewriteRule show-(\d+)\.html$ index\.php\?c=show&m=index&num_iids=$1<br /><br />RewriteRule images\/([a-zA-Z\d=]+)\.jpg  go.php


------解决方案--------------------
百度下吧百度下吧
陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn