Home >Backend Development >PHP Tutorial > apache上的伪静态怎么转换成iis上的伪静态

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

WBOY
WBOYOriginal
2016-06-13 12:57:011345browse

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


------解决方案--------------------
百度下吧百度下吧
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn