当前位置: 代码迷 >> PHP >> apache上的伪静态怎么转换成iis上的伪静态
  详细解决方案

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

热度:94   发布时间:2016-04-28 22:16:40.0
apache下的伪静态如何转换成iis下的伪静态
apache下的伪静态如何转换成iis下的伪静态?因为apache是.htaccess 而iis是httpd.ini  如果直接改文件名的话,并不行,如下面的apache下的伪静态代码?(请说下转换方法)


# Destoon B2B Rewrite Rules
RewriteEngine On
RewriteRule list-(\d+)\.html$ index\.php\?c=list&m=index&parent_cid=$1
RewriteRule list-(\d+)-(\d+)\.html$ index\.php\?c=list&m=index&parent_cid=$1&page=$2


RewriteRule list-(\d+)-(\d+)-(\d+)\.html$ index\.php\?c=list&m=index&parent_cid=$1&sort=$2&page=$3
RewriteRule list-(\d+)-(\d+)\.html$ index\.php\?c=list&m=index&parent_cid=$1&sort=$2

RewriteRule show-(\d+)\.html$ index\.php\?c=show&m=index&num_iids=$1

RewriteRule images\/([a-zA-Z\d=]+)\.jpg  go.php

------解决方案--------------------
百度下吧百度下吧
  相关解决方案