针对IIS7.X即IIS7.0以上的伪静态配置,如果你的空间默认已经支持伪静态组件的话,请下载以下附件解压后得到web.config文件放到网站根目录即可门户、B2B的伪静态如下
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="qb">RewriteRule ^(.*)-htm-(.*)$ $1\.php\?Rurl=$2
<match url="^(.*)-htm-(.*)$" />
<action type="Rewrite" url="{R:1}.php?Rurl={R:2}" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
如果放到网站根目录。导致网站打不开的话,那就是因为你的空间还没有安装好IIS 伪静态组件。请下载对应的组件安装即可
32位系统的 http://go.microsoft.com/?linkid=9722533
点击下载http://go.microsoft.com/?linkid=9722532
或者直接打开官网,在线安装
http://www.iis.net/downloads/microsoft/url-rewrite
当前地址:http://www.qibosoft.com/help/?Url=http://www.qibosoft.com/help/content.php?fid=9&id=106&mid=1